Commit 0b7e60d2 authored by multrus's avatar multrus
Browse files

Merge branch...

Merge branch 'basop-2353-clang18-msan-use-of-uninitialized-value-in-lib_dec-dec_tcx_fx-c-4035-5' into 'main'

Resolve "[CLANG18] MSAN: use-of-uninitialized-value in lib_dec/dec_tcx_fx.c:4035:5"

Closes #2353

See merge request !2759
parents 8ab87baa 94acc72e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -116,6 +116,7 @@
#define FIX_2367_REMOVE_CODE_ICBWE                      /* VA: basop issue 2367: Remove IC-BWE obsolete code  */
#define REMOVE_SCALING_SHB_SPEECH                       /* VA: remove unnecessary scaling and 32-bit buffers from ivas_core_enc_fx() */
#define FIX_2352_COPY_AQ_IN_TCX                         /* FhG: basop issue 2352: prevent copying uninitialized values from Aq_fx[][] to Aq_fx_32[][] in TCX */
#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 ################################## */

+3 −0
Original line number Diff line number Diff line
@@ -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 );