commit | 5f2af0e09998a90d9b02b7eeb48787083aa958a2 | [log] [tgz] |
---|---|---|
author | Shivaansh Agrawal <shivaansh.agrawal@ittiam.com> | Tue Jul 14 11:55:51 2020 +0530 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Thu Nov 12 18:33:36 2020 +0000 |
tree | e6fd5bed0b7cb9807682d721f815b48062f685c9 | |
parent | 3c42efd7ebcdaae3017ce0a06b6272a7a87b8f59 [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 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 a05f42e1d609acba3ff253b743ecb64ba81f3069)