commit | 0a68b461d382304ae438fa8b52920fa75d178a1c | [log] [tgz] |
---|---|---|
author | Chia-I Wu <olv@google.com> | Tue Jul 18 11:30:05 2017 -0700 |
committer | Chia-I Wu <olv@google.com> | Tue Jul 18 12:12:29 2017 -0700 |
tree | 862be176c1463ddb2cbe102031a5610f9864eec0 | |
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