diff options
author | TreeHugger Robot <treehugger-gerrit@google.com> | 2019-01-07 19:32:27 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2019-01-07 19:32:27 +0000 |
commit | a0e487a8bd652219e94b2c85a6484d3ecfba9c40 (patch) | |
tree | 661e3963ca8845ee339881f9708c7df6df1ae42d /decoder/ixheaacd_api.c | |
parent | b58b82de3887925ec418107a134cfef805905ffb (diff) | |
parent | 71c5edac0bd057044561cc2ff023634055e8e565 (diff) | |
download | libxaac-a0e487a8bd652219e94b2c85a6484d3ecfba9c40.tar.gz |
Merge "Fix for few uninitialized accesses"
Diffstat (limited to 'decoder/ixheaacd_api.c')
-rw-r--r-- | decoder/ixheaacd_api.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/decoder/ixheaacd_api.c b/decoder/ixheaacd_api.c index fc3f7b5..880ce65 100644 --- a/decoder/ixheaacd_api.c +++ b/decoder/ixheaacd_api.c @@ -137,6 +137,8 @@ IA_ERRORCODE ixheaacd_dec_mem_api( return (IA_ENHAACPLUS_DEC_API_FATAL_MEM_ALIGN); } p_obj_exhaacplus_dec->pp_mem_aac[i_idx] = pv_value; + memset(p_obj_exhaacplus_dec->pp_mem_aac[i_idx], 0, + p_obj_exhaacplus_dec->p_mem_info_aac[i_idx].ui_size); if (i_idx == IA_ENHAACPLUS_DEC_PERSIST_IDX) { pUWORD8 p_temp = pv_value; |