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 |
||
|---|---|---|
| .. | ||
| Android.bp | ||
| impd_drc_config_params.h | ||
| ixheaacd_error.c | ||
| ixheaacd_fileifc.c | ||
| ixheaacd_fileifc.h | ||
| ixheaacd_main.c | ||
| ixheaacd_main_flush_csd.c | ||
| ixheaacd_metadata_read.c | ||
| ixheaacd_metadata_read.h | ||