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

Skip to content
Commit 930bb620 authored by Shivaansh Agrawal's avatar Shivaansh Agrawal Committed by Ray Essick
Browse files

mp3dec: Fix out of bound read error

Add check for required number of bytes before stream read
while reading side info.
Modify bitstream read functions to only read required number of bytes

Bug: 154075955
Bug: 154076193
Test: POC in bug description
Test: atest android.mediav2.cts.CodecDecoderTest
Test: atest Mp3DecoderTest -- --enable-module-dynamic-download=true

Change-Id: I777f22d21cbf026056f1ac69de4bb763846b1a9d
(cherry picked from commit c57092d1)
parent 8579aa2b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment