Draft: Resolve "[CLANG18] MSAN: use-of-uninitialized-value in lib_com/cldfb_evs_fx.c:952:22"
- Related issues: #2319
- Requested reviewers:
Reason why this change is needed
Basic Info
- Commit SHA: 6ff99c98
Bug description
Clang 18 MSAN found an use-of-uninitialized-value error at lib_com/cldfb_evs_fx.c:952:22:
==20404==WARNING: MemorySanitizer: use-of-uninitialized-value
#0 0x5629777f1888 in configureCldfb /builds/rep/sa4/audio/ivas-basop/lib_com/cldfb_evs_fx.c:952:22
...
SUMMARY: MemorySanitizer: use-of-uninitialized-value /builds/rep/sa4/audio/ivas-basop/lib_com/cldfb_evs_fx.c:952:22 in configureCldfb
How to reproduce
Build with
make clean
make -j CLANG=1
Then run
IVAS_cod -stereo_dmx_evs 13200 32 scripts/testv/stvST32c.wav stvST32c.wav_Stereo_downmix_to_bit_exact_EVS_at_13200_kbps_32kHz_in_32kHz_out.192
or
python3 -m pytest "test_param_file_tests[stv-Stereo downmix to bit-exact EVS at 13200 kbps, 32kHz in, 32kHz out]" -n auto --update_ref --ref_encoder_path ./IVAS_cod --ref_decoder_path ./IVAS_dec
Description of the change
- Lets see what is necessary...
Closes #2319