commit | c57092d196049acacd85623365b99e45ccc61b86 | [log] [tgz] |
---|---|---|
author | Shivaansh Agrawal <shivaansh.agrawal@ittiam.com> | Tue Jul 14 11:55:51 2020 +0530 |
committer | Ray Essick <essick@google.com> | Wed Oct 21 17:02:28 2020 -0700 |
tree | e80d928dd30195f0bbbd2503f9ae800664cc397c | |
parent | d6fe406c865072f4d139756a48487d34fed0f07f [diff] |
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