tag | 1546f059b6129654ddb8600a96709d7366d61bd4 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Mon May 01 08:40:52 2017 -0700 |
object | b487c707ea4b531c80b27cb4eae03ea6c9a5a8d2 |
Android 7.1.2 release 11
commit | b487c707ea4b531c80b27cb4eae03ea6c9a5a8d2 | [log] [tgz] |
---|---|---|
author | Ray Essick <essick@google.com> | Mon Mar 13 11:59:57 2017 -0700 |
committer | gitbuildkicker <android-build@google.com> | Thu Apr 06 15:16:45 2017 -0700 |
tree | cb138bc2055101a16f9dc84a6d258cae35bf4cd1 | |
parent | 900af48f2dab2aa8cb428b107ce89664244a9a28 [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)