Commit 80a93c73 authored by multrus's avatar multrus
Browse files

Merge branch...

Merge branch 'basop-2331-clang18-msan-use-of-uninitialized-value-in-lib_rend-lib_rend_fx-c-7035-37' into 'main'

Basop 2331 clang18 msan use of uninitialized value in lib rend lib rend fx c 7035 37

See merge request !2496
parents b9e92908 411d45a2
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -164,6 +164,7 @@
#define NONBE_1122_KEEP_EVS_MODE_UNCHANGED              /* FhG: Disables fix for issue 1122 in EVS mode to keep BE tests green. This switch should be removed once the 1122 fix is added to EVS via a CR.  */
#define FIX_2344_ALIGN_PREPROC                          /* VA: basop issue 2344: Align pre_proc_ivas() between FLP and BASOP */
#define FIX_FLOAT_1501_UNIT_VALUE_IN_OMASA              /* Nokia: Fix float issue 1501, uninitialized value in ivas_masa_combine_directions for OMASA */
#define FIX_2331_CLANG18_MSAN_UNINIT_VARIABLE           /* FhG: Fix issue 2331: Uninitialized variable */

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

+4 −0
Original line number Diff line number Diff line
@@ -5996,6 +5996,10 @@ static ivas_error renderIsmToSba(

    push_wmops( "renderIsmToSba" );

#ifdef FIX_2331_CLANG18_MSAN_UNINIT_VARIABLE
    set_zero( currentPanGains, MAX_OUTPUT_CHANNELS );
#endif

    if ( ( error = getAudioConfigNumChannels( outConfig, &numOutChannels ) ) != IVAS_ERR_OK )
    {
        return error;