commit | d26ab51a7f8e8bff7cebebf378ecfdf0754852b4 | [log] [tgz] |
---|---|---|
author | Ray Essick <essick@google.com> | Mon Mar 13 11:59:57 2017 -0700 |
committer | Teemu Hukkanen <teemu@fairphone.com> | Mon May 01 14:25:03 2017 +0000 |
tree | 752651c5dbf185e3d5d27d7e65a8eedb0545366b | |
parent | 180d05a8c029bb151f5dd3e101c5c86447032b23 [diff] |
DO NOT MERGE Add bounds check in SoftAACEncoder2::onQueueFilled() Original code blindly copied some header information into the user-supplied buffer without checking for sufficient space. The code does check when it gets to filling the data -- it's just the header copies that weren't checked. FPIIM-663 Bug: 34617444 Test: ran POC before/after Change-Id: I6e80ec90616f6cd02bb8316cd2d6e309b7e4729d (cherry picked from commit 6231243626b8b9c57593b1f0ee417f2c4af4c0aa)