commit | 2c017b758f7e03dfccf6987f171a3a77fc5bb743 | [log] [tgz] |
---|---|---|
author | Mahesh Lanka <mlanka@qti.qualcomm.com> | Wed May 11 12:34:20 2016 +0530 |
committer | The Android Automerger <android-build@google.com> | Thu May 26 15:20:03 2016 -0700 |
tree | d39306b378d5963b756b4f1515aa9d6dd6649c8b | |
parent | 14fe2d5aeee6b6018b2f69db318975f670f4d3f8 [diff] |
DO NOT MERGE mm-video-v4l2: vdec: Avoid processing ETBs/FTBs in invalid states (per the spec) ETB/FTB should not be handled in states other than Executing, Paused and Idle. This avoids accessing invalid buffers. Also add a lock to protect the private-buffers from being deleted while accessing from another thread. Bug: 27890802 Security Vulnerability - Heap Use-After-Free and Possible LPE in MediaServer (libOmxVdec problem #6) Change-Id: Iaac2e383cd53cf9cf8042c9ed93ddc76dba3907e