diff options
| author | 2017-07-18 11:30:05 -0700 | |
|---|---|---|
| committer | 2017-08-10 22:43:01 +0000 | |
| commit | 2e00825332f1807316eca5b4b41527e3bbab841f (patch) | |
| tree | 46237d896412bf91d1838d2155c7af3596de0fb2 /libs/gui/ConsumerBase.cpp | |
| parent | d0cd82abe9fe79d850b5c5332acc4e776644256d (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
(cherry picked from commit 0a68b461d382304ae438fa8b52920fa75d178a1c)
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
0 files changed, 0 insertions, 0 deletions