[CLANG18] MSAN: use-of-uninitialized-value in lib_enc/igf_enc_fx.c:4298:9
### Basic Info - Commit SHA: 9912e474bebc81590c3f0d1d760b9ebf59e002d3 ### Bug description Clang 18 MSAN found an use-of-uninitialized-value error at lib_enc/igf_enc_fx.c:4298:9: ``` ==19975==WARNING: MemorySanitizer: use-of-uninitialized-value #0 0x5631d6050b4d in IGFEncApplyStereo_fx /builds/rep/sa4/audio/ivas-basop/lib_enc/igf_enc_fx.c:4298:9 #1 0x5631d5d5aa45 in ProcessStereoIGF_fx /builds/rep/sa4/audio/ivas-basop/lib_enc/tcx_utils_enc_fx.c:4010:5 #2 0x5631d62c64cd in stereo_mdct_core_enc_fx /builds/rep/sa4/audio/ivas-basop/lib_enc/ivas_stereo_mdct_core_enc_fx.c:626:21 #3 0x5631d609a2f9 in ivas_core_enc_fx /builds/rep/sa4/audio/ivas-basop/lib_enc/ivas_core_enc_fx.c:574:17 #4 0x5631d6117d4b in ivas_cpe_enc_fx /builds/rep/sa4/audio/ivas-basop/lib_enc/ivas_cpe_enc_fx.c:1275:5 #5 0x5631d573e423 in ivas_enc_fx /builds/rep/sa4/audio/ivas-basop/lib_enc/ivas_enc_fx.c:180:9 #6 0x5631d563a675 in IVAS_ENC_EncodeFrameToSerial /builds/rep/sa4/audio/ivas-basop/lib_enc/lib_enc_fx.c:1502:13 #7 0x5631d561994a in main /builds/rep/sa4/audio/ivas-basop/apps/encoder.c:877:28 #8 0x7fd539f1a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 #9 0x7fd539f1a28a in __libc_start_main csu/../csu/libc-start.c:360:3 #10 0x5631d5579454 in _start (/builds/rep/sa4/audio/ivas-basop/IVAS_cod+0x38454) (BuildId: 1e98dc6728760144942259e69e2f21b3f1a998a8) SUMMARY: MemorySanitizer: use-of-uninitialized-value /builds/rep/sa4/audio/ivas-basop/lib_enc/igf_enc_fx.c:4298:9 in IGFEncApplyStereo_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 -max_band scripts/testv/ivas_bws_20fr_start_SWB.txt -stereo -dtx 48000 48 scripts/testv/stvST48n.wav stvST48n.wav_stereo_at_48_kbps_48_kHz_in_48_kHz_out_DTX_on_bandwidth_switching.192 ``` or ``` python3 -m pytest "test_param_file_tests[stv-stereo at 48 kbps, 48 kHz in, 48 kHz out, DTX on, bandwidth switching]" -n auto --update_ref --ref_encoder_path ./IVAS_cod --ref_decoder_path ./IVAS_dec ```
issue