Commit a48958a1 authored by Jan Kiene's avatar Jan Kiene
Browse files

Merge branch...

Merge branch 'float-1487-clang18-msan-use-of-uninitialized-value-in-lib_dec-ivas_jbm_dec-c-145-28' into kiene/test-ubuntu-24_04-runner
parents 2fa6e58c 63ab0af5
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -172,6 +172,7 @@
#define FIX_2287_MCT_MDCT_STEREO_DATA_MALLOC_SIZE       /* FhG: correct allocation size for STEREO_MDCT_DEC_DATA struct */
#define FIX_1486_INIT_OUTPUT_POINTERS                   /* FhG: always initialize pointers in renderer flush */
#define FIX_1474_USAN_TRANS_INV                         /* Eri: Fix USAN out-of-bounds warning. No OOB occurs, but the pointer is set to point to uninitialized memory. */
#define FIX_1487_ACCESS_OF_UNINIT_VAL_FROM_ARR_ISM_DTX  /* FhG/VA: init nb_bits_metadata to zero */

/* #################### End BE switches ################################## */

+6 −0
Original line number Diff line number Diff line
@@ -120,6 +120,12 @@ void ivas_ism_dtx_dec(
            nb_bits_metadata[ch] = nb_bits_metadata[sce_id_dtx];
        }
    }
#ifdef FIX_1487_ACCESS_OF_UNINIT_VAL_FROM_ARR_ISM_DTX
    else
    {
        set_s( nb_bits_metadata, 0, st_ivas->nchan_transport );
    }
#endif

    if ( !st_ivas->bfi )
    {