libxaac/test
Ramesh Katuri 5148d0d287 Fix for heap buffer overflow in xaac decoder test bench
In Xaac decoder frame size information is obtained from  ia_mp4_stsz_size array
using frame counter. Due to some bad frames in the stream frame counter is not
getting updated properly which is causing heap buffer overflow.

As a fix

1. We added check on frame counter value before accessing  ia_mp4_stsz_size[]
2. Frame counter value is updated properly even if input frame is an erroneous
   frame

Bug:119005793
Test: vendor, poc
Change-Id: I402cf9b4d5641545fdaaf433f0a4a43c293e5dd9
2019-01-04 12:20:07 -08:00
..
Android.bp Changes based on review comments 2018-07-03 11:21:47 -07:00
impd_drc_config_params.h Changes based on review comments 2018-07-03 11:21:47 -07:00
ixheaacd_error.c Sanitization fixes from new CTS tests 2018-05-25 11:35:52 -07:00
ixheaacd_fileifc.c Changes based on review comments 2018-07-03 11:21:47 -07:00
ixheaacd_fileifc.h Bring xHE-AAC into pi-dev branch 2018-05-17 14:36:48 -07:00
ixheaacd_main.c Fix for heap buffer overflow in xaac decoder test bench 2019-01-04 12:20:07 -08:00
ixheaacd_main_flush_csd.c Sanitization fixes from new CTS tests 2018-05-25 11:35:52 -07:00
ixheaacd_metadata_read.c Fix for heap buffer overflow in xaac decoder test bench 2019-01-04 12:20:07 -08:00
ixheaacd_metadata_read.h Changes based on review comments 2018-07-03 11:21:47 -07:00