[CLANG18] MSAN: use-of-uninitialized-value in lib_dec/dec_tcx_fx.c:1098:13
### Basic Info - Commit SHA: 5bfd9e0b10f45aa8a90f1b3b022c0433ed18c1c3 ### Bug description Clang 18 MSAN found an use-of-uninitialized-value error at lib_dec/dec_tcx_fx.c:1098:13: ``` ==20811==WARNING: MemorySanitizer: use-of-uninitialized-value #0 0x558236c3eaf4 in decoder_tcx_fx /builds/rep/sa4/audio/ivas-basop/lib_dec/dec_tcx_fx.c:1098:13 #1 0x558236f5b40b in decoder_LPD_fx /builds/rep/sa4/audio/ivas-basop/lib_dec/dec_LPD_fx.c:709:9 #2 0x558236bf6d3d in dec_acelp_tcx_frame_fx /builds/rep/sa4/audio/ivas-basop/lib_dec/dec_acelp_tcx_main_fx.c:442:13 #3 0x55823611eb9a in evs_dec_fx /builds/rep/sa4/audio/ivas-basop/lib_dec/evs_dec_fx.c:744:9 #4 0x558235ea811f in evs_dec_main_fx /builds/rep/sa4/audio/ivas-basop/lib_dec/lib_dec_fx.c:5619:13 #5 0x558235ea3998 in IVAS_DEC_GetSamplesDecoder /builds/rep/sa4/audio/ivas-basop/lib_dec/lib_dec_fx.c:3889:13 #6 0x558235e48b4d in decodeG192 /builds/rep/sa4/audio/ivas-basop/apps/decoder.c:2292:32 #7 0x558235e2cc82 in main /builds/rep/sa4/audio/ivas-basop/apps/decoder.c:684:17 #8 0x7f528f3d11c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 #9 0x7f528f3d128a in __libc_start_main csu/../csu/libc-start.c:360:3 #10 0x558235d8e484 in _start (/builds/rep/sa4/audio/ivas-basop/IVAS_dec+0x3b484) (BuildId: dc6ade48efbaef05ff2ecb1f03e3fcc0d0df194c) SUMMARY: MemorySanitizer: use-of-uninitialized-value /builds/rep/sa4/audio/ivas-basop/lib_dec/dec_tcx_fx.c:1098:13 in decoder_tcx_fx ``` ### How to reproduce :warning: Make sure to use CLANG v18 for building the codec :warning Build with ``` make clean make -j CLANG=1 ``` Then run ``` IVAS_cod -stereo_dmx_evs 24400 48 scripts/testv/stvST48c.wav stvST48c.wav_Stereo_downmix_to_bit_exact_EVS_at_24400_kbps_48kHz_in_48kHz_out.192 IVAS_dec -fr 20 48 stvST48c.wav_Stereo_downmix_to_bit_exact_EVS_at_24400_kbps_48kHz_in_48kHz_out.192 stvST48c.wav_Stereo_downmix_to_bit_exact_EVS_at_24400_kbps_48kHz_in_48kHz_out.dec.wav ``` or ``` python3 -m pytest "test_param_file_tests[stv-Stereo downmix to bit-exact EVS at 24400 kbps, 48kHz in, 48kHz out]" -n auto --update_ref --ref_encoder_path ./IVAS_cod --ref_decoder_path ./IVAS_dec ```
issue