Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 12d8937c authored by Harish Mahendrakar's avatar Harish Mahendrakar Committed by Cherrypicker Worker
Browse files

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
parent 6fb9605c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment