summaryrefslogtreecommitdiff
path: root/opengl/tests/gl_basic/gl_basic.cpp
diff options
context:
space:
mode:
authorChia-I Wu <olv@google.com>2017-07-18 11:30:05 -0700
committerChia-I Wu <olv@google.com>2017-08-10 22:43:01 +0000
commit2e00825332f1807316eca5b4b41527e3bbab841f (patch)
tree46237d896412bf91d1838d2155c7af3596de0fb2 /opengl/tests/gl_basic/gl_basic.cpp
parentd0cd82abe9fe79d850b5c5332acc4e776644256d (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 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions