diff options
| author | 2020-08-19 12:34:59 +0200 | |
|---|---|---|
| committer | 2020-08-19 12:38:00 +0200 | |
| commit | 9afcbd8e103dea5fda24b09cdb75f2b3c18cd69c (patch) | |
| tree | eac6e828756d90fe967376ba624a94f8f568494e /libs/gui/QueueBufferInputOutput.cpp | |
| parent | 141959209922a15acd27ee66e1408525f541a9dc (diff) | |
Nullptr check for getActiveConfig() in doDump()
HWComposer::getActiveConfig() returns nullptr when a bad
configuration is received from HWC. In this case a dumpsys
will cause a nullptr dereference and it'll crash SurfaceFlinger.
This CL adds a nullptr check to prevent this.
Bug: 165419673
Test: adb shell dumpsys SurfaceFlinger
Change-Id: I7da8d034a5a429412a73121d795e3adc4323db13
Diffstat (limited to 'libs/gui/QueueBufferInputOutput.cpp')
0 files changed, 0 insertions, 0 deletions