aboutsummaryrefslogtreecommitdiff
path: root/encoder/iusace_enc_main.c
diff options
context:
space:
mode:
authorShreyas Talwekar <shreyas.talwekar@ittiam.com>2023-08-30 19:23:15 +0530
committerDivya B M <89966460+divya-bm@users.noreply.github.com>2023-08-31 09:12:21 +0530
commit69a0983d7bce26c1583c3795f4b0653e34b38464 (patch)
tree04c8f801fe659048e135e868b8283b5a759090c4 /encoder/iusace_enc_main.c
parent5b23cc288ac27980cc77e234fe357998317a47b6 (diff)
downloadlibxaac-69a0983d7bce26c1583c3795f4b0653e34b38464.tar.gz
Fix for the Null-dereference in ixheaace_extract_sbr_envelope
These changes handle the Null-dereference runtime error reported because of the inappropriate usage of members from an uninitialized structure when harmonic sbr is disabled. Bug: ossFuzz:61687 Test: poc in bug
Diffstat (limited to 'encoder/iusace_enc_main.c')
-rw-r--r--encoder/iusace_enc_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/encoder/iusace_enc_main.c b/encoder/iusace_enc_main.c
index 027756e..dcb3224 100644
--- a/encoder/iusace_enc_main.c
+++ b/encoder/iusace_enc_main.c
@@ -78,6 +78,7 @@
#include "ixheaace_resampler.h"
#include "ixheaace_sbr_rom.h"
#include "ixheaace_common_rom.h"
+#include "ixheaace_sbr_hbe.h"
#include "ixheaace_sbr_qmf_enc.h"
#include "ixheaace_sbr_tran_det.h"
#include "ixheaace_sbr_frame_info_gen.h"
@@ -92,7 +93,6 @@
#include "ixheaace_sbr_ton_corr.h"
#include "iusace_esbr_pvc.h"
#include "iusace_esbr_inter_tes.h"
-#include "ixheaace_sbr_hbe.h"
#include "ixheaace_sbr.h"
#include "ixheaace_sbr_cmondata.h"
#include "ixheaace_sbr_crc.h"