Prevent OOB write in soft_avc encoder
Soft avc encoder cached buffer sizes across a point where the sizes could be reset by an app, allowing crafted requests to hit outside of the current buffer. This remedies that by forcing buffer reallocation with new sizes whenever the encoder state at such 'reset' points. Bug: 35421151 Test: run POC with no crash AOSP-Change-Id: I8c689846142264f7b6a277332260a6bd8a2bd92d (cherry picked from commit 463452a9) CVE-2017-0684 Change-Id: I8df14195d067a42f7bf3ebb8a5ac40fb433a5bea
Loading
Please register or sign in to comment