diff options
| author | 2020-06-08 20:35:48 +0200 | |
|---|---|---|
| committer | 2020-06-09 08:59:28 +0000 | |
| commit | 533e8e2d53218ca45ff9e5f369426eaf578a7c66 (patch) | |
| tree | 6994883e996b26c91c432cebf469d84f4abbb2c5 /opengl/libagl/TextureObjectManager.cpp | |
| parent | 607a0c6d5a2bb18fdf11374a40f5ffedca96d650 (diff) | |
[SF] Don't crash if HWC returns an unknown config
When we call getActiveConfig() after HWC updates its modes
and before notifying us, we'll get an unknown configuration.
This change fixes a null pointer dereference in this scenario.
Bug: 158481338
Test: m surfaceflinger && flash
Change-Id: Ifa812628d238e4eb7873a163c834abc9f380bb0a
Diffstat (limited to 'opengl/libagl/TextureObjectManager.cpp')
0 files changed, 0 insertions, 0 deletions