commit | 12d8937c351dbace362d18f60ebf7a1914303faa | [log] [tgz] |
---|---|---|
author | Harish Mahendrakar <harish.mahendrakar@ittiam.com> | Tue Dec 05 18:32:45 2023 +0000 |
committer | Cherrypicker Worker <android-build-cherrypicker-worker@google.com> | Tue Dec 05 18:32:45 2023 +0000 |
tree | 17a523be449be0b02a6da354aa9ca1fe8ec67063 | |
parent | 6fb9605c63ddb9908a83f2e12b263d768afe6976 [diff] |
mp3dec: Check if input buffer contains valid data At the start of decode call, search of SYNC word and ensure that header is valid and input buffer contains sufficient number of bytes in the input. Bug: 276896088 Bug: 276897197 Bug: 276898070 Bug: 276898118 Test: poc in bugs Test: atest Mp3DecoderTest (cherry picked from https://partner-android-review.googlesource.com/q/commit:b1728f4e0358424f447897003dd5ef599a149c14) Merged-In: I686a6cc5456ca4d7bf2d4c5f3fd7e300c8c3a145 Change-Id: I686a6cc5456ca4d7bf2d4c5f3fd7e300c8c3a145