diff options
author | Rajat Kumar <rajat.kumar@ittiam.com> | 2019-02-08 15:59:47 +0530 |
---|---|---|
committer | Ray Essick <essick@google.com> | 2019-03-01 17:56:08 -0800 |
commit | a2e013254bf67aba3679a9966e66783a994441fd (patch) | |
tree | 885241c3f187f9922abd710b4c9f600024b6e6bf /decoder/ixheaacd_multichannel.h | |
parent | ee391b5dfade6345617a0af0c1b740dabc1a97aa (diff) | |
download | libxaac-a2e013254bf67aba3679a9966e66783a994441fd.tar.gz |
Fix for array out of bound access in multichannel.c file
Array common_gain_element_present was accessed with an index of 10,
so a check has been added as fix and error return code handling has
been modified.
Bug:124022181
Test: poc
Change-Id: Ic9be00f6a9cec2df433e7a5f86616da5e98c9e05
Diffstat (limited to 'decoder/ixheaacd_multichannel.h')
-rw-r--r-- | decoder/ixheaacd_multichannel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/decoder/ixheaacd_multichannel.h b/decoder/ixheaacd_multichannel.h index 2f280c7..9156f44 100644 --- a/decoder/ixheaacd_multichannel.h +++ b/decoder/ixheaacd_multichannel.h @@ -20,7 +20,7 @@ #ifndef IA_EAACP_DEC_MUTLCHANNEL_H #define IA_EAACP_DEC_MUTLCHANNEL_H -WORD16 ixheaacd_dec_coupling_channel_element( +IA_ERRORCODE ixheaacd_dec_coupling_channel_element( ia_handle_bit_buf_struct bs, ia_aac_decoder_struct *aac_handle, WORD32 sample_rate_idx, ia_aac_dec_tables_struct *ptr_aac_tables, ixheaacd_misc_tables *common_tables_ptr, WORD *element_index_order, |