| commit | 9d71510e0423d3970a8c14bffa205aba47e06594 | [log] [tgz] |
|---|---|---|
| author | Ray Essick <essick@google.com> | Mon Mar 13 11:59:57 2017 -0700 |
| committer | android-build-team Robot <android-build-team-robot@google.com> | Wed Aug 23 19:14:38 2017 +0000 |
| tree | a7997e39c6a0250c0de45f364d33d7545c7a19fd | |
| parent | 954e3d6777d14100b361387b4fd47f02a48e48c8 [diff] |
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. Bug: 34617444 Test: ran POC before/after Change-Id: I6e80ec90616f6cd02bb8316cd2d6e309b7e4729d (cherry picked from commit 6231243626b8b9c57593b1f0ee417f2c4af4c0aa)