diff options
| author | 2017-07-18 11:30:05 -0700 | |
|---|---|---|
| committer | 2017-07-18 12:12:29 -0700 | |
| commit | 0a68b461d382304ae438fa8b52920fa75d178a1c (patch) | |
| tree | 862be176c1463ddb2cbe102031a5610f9864eec0 /libs/gui/ConsumerBase.cpp | |
| parent | 87cd11513fa0d3d0800c0f93fd1bc57ba71b0039 (diff) | |
surfaceflinger: fix a nullptr dereference
When the child layer latched a buffer but the fixed-size parent
layer never did (for reasons such as no buffer queued or buffer got
rejected), we could end up with p->mActiveBuffer being nullptr.
Bug: 62996512
Test: manual (I could never repro anyway)
Change-Id: Id7e4c7037633b8a37039baa6e8a306e55170b894
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
0 files changed, 0 insertions, 0 deletions