From 5344aa05738e9156945178bb5335124620efd8ac Mon Sep 17 00:00:00 2001 From: Markus Multrus Date: Fri, 23 Jan 2026 17:13:07 +0100 Subject: [PATCH] initialize prm_sqQ-pointer, to prevent being uninitialized in case of bfi == 1 --- lib_com/options.h | 1 + lib_dec/dec_tcx_fx.c | 3 +++ 2 files changed, 4 insertions(+) diff --git a/lib_com/options.h b/lib_com/options.h index c7cd38dd8..e0dc54043 100644 --- a/lib_com/options.h +++ b/lib_com/options.h @@ -107,6 +107,7 @@ #define FIX_2330_CLANG_18_WARNINGS_REND /* FhG: Fix renderer warnings */ #define FIX_BASOP_2350_HARM_0B_BWE /* VA: basop issue 2350: harmonization of the 0b BWE */ #define FIX_2349_HARM_FIND_UV /* VA: basop issue 2349: harmonization of find_uv() function */ +#define FIX_2353_PTR_INIT /* FhG: basop issue 2353: initialize prm_sqQ-pointer, to prevent being uninitialized in case of bfi == 1 */ /* #################### End BE switches ################################## */ diff --git a/lib_dec/dec_tcx_fx.c b/lib_dec/dec_tcx_fx.c index 13cf9e9eb..e48affb21 100644 --- a/lib_dec/dec_tcx_fx.c +++ b/lib_dec/dec_tcx_fx.c @@ -4021,6 +4021,9 @@ void decoder_tcx_ivas_fx( move16(); fUseTns = 0; /* flag that is set if TNS data is present */ move16(); +#ifdef FIX_2353_PTR_INIT + prm_sqQ = NULL; +#endif set16_fx( xn_buf_fx, 0, L_MDCT_OVLP_MAX + L_FRAME_PLUS + L_MDCT_OVLP_MAX ); -- GitLab