Fix for Stack buffer overflow in ixheaacd_mps_getstridemap

Bug:117495103
Bug:117495366
Test: vendor + poc
Change-Id: Iff5b9135a8fc1b9ad1f00b6fdbe6a8e20c0a61c4
This commit is contained in:
Ramesh Katuri 2018-10-13 13:42:08 +05:30 committed by Ray Essick
parent c992830e35
commit bd5770772f

View file

@ -1063,6 +1063,8 @@ WORD32 ixheaacd_mps_header_decode(ia_mps_dec_state_struct *self) {
}
}
if (self->num_bands_ipd > MAX_PARAMETER_BANDS) return -1;
self->dir_sig_count = 1;
self->decor_sig_count = 1;