From c12e34754b307e0575cfd00ea571969f929cc960 Mon Sep 17 00:00:00 2001 From: Fabian Bauer Date: Tue, 20 Jan 2026 06:44:05 +0100 Subject: [PATCH 1/2] add init of pan_vector --- lib_rend/lib_rend.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib_rend/lib_rend.c b/lib_rend/lib_rend.c index e7d9e1c907..a394a10c92 100644 --- a/lib_rend/lib_rend.c +++ b/lib_rend/lib_rend.c @@ -6026,6 +6026,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; -- GitLab From 0129745b8f2d82880b3b4244ddda67a0557475ca Mon Sep 17 00:00:00 2001 From: Fabian Bauer Date: Tue, 20 Jan 2026 08:54:17 +0100 Subject: [PATCH 2/2] add macro in options --- lib_com/options.h | 1 + 1 file changed, 1 insertion(+) diff --git a/lib_com/options.h b/lib_com/options.h index b28ad5c6ea..19377958a1 100644 --- a/lib_com/options.h +++ b/lib_com/options.h @@ -170,6 +170,7 @@ #define FIX_1479_MSAN_SPAR_UNINITIALIZED_VALUE /* Dolby: Fix for issue 1479, MSAN error due to uninitialized value in SPAR */ #define REMOVE_UNUSED_CODE_IVAS_DEC /* VA: remove unused code in ivas_jbm_dec_tc_fx() */ #define REMOVE_CAM_FROM_IVAS /* VA: basop issue 210: remove obsoelte CAM code from IVAS */ +#define FIX_2331_CLANG18_MSAN_UNINIT_VARIABLE /* FhG: Fix issue 2331: Uninitialized variable */ /* #################### End BE switches ################################## */ -- GitLab