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

Skip to content
Commit 819799ce authored by Shivaansh Agrawal's avatar Shivaansh Agrawal Committed by android-build-team Robot
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

Checks added in files:
pvmp3_framedecoder.cpp
pvmp3_get_side_info.cpp
pvmp3_getbits.cpp

Bug: 154075955
Bug: 154076193
Test: POC in bug description
Change-Id: I2cb9d429f4d6d5ade605a7373e5f8f7e3a8b2d57
(cherry picked from commit a05f42e1)
parent 61cd8f09
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