Skip to content

[valgrind] Reading of uninitialized memory in TDREND_firfilt_fx()

Basic info

Bug description

Valgrind reports reading of uninitialized memory in TDREND_firfilt_fx() for OSBA output:

==435685== Conditional jump or move depends on uninitialised value(s)
==435685==    at 0x4482A3: W_add_o (enh64.c:1373)
==435685==    by 0x44830C: W_add (enh64.c:1390)
==435685==    by 0x44801E: W_mac_32_32 (enh64.c:1086)
==435685==    by 0x12791C: TDREND_firfilt_fx (ivas_objectRenderer_sfx_fx.c:351)
==435685==    by 0x123378: TDREND_REND_RenderSourceHRFilt_fx (ivas_objectRenderer_hrFilt_fx.c:96)
==435685==    by 0x122109: TDREND_GetMix_fx (ivas_objectRenderer_fx.c:563)
==435685==    by 0x208566: ivas_td_binaural_renderer_sf_fx (ivas_objectRenderer_internal_fx.c:266)
==435685==    by 0x21073A: ivas_osba_dirac_td_binaural_jbm_fx (ivas_osba_dec_fx.c:228)
==435685==    by 0x1D534A: ivas_jbm_dec_render_fx (ivas_jbm_dec_fx.c:2209)
==435685==    by 0x11C19F: IVAS_DEC_GetRenderedSamples (lib_dec_fx.c:1957)
==435685==    by 0x11A26D: IVAS_DEC_GetSamples (lib_dec_fx.c:1280)
==435685==    by 0x11EB70: IVAS_DEC_VoIP_GetSamples (lib_dec_fx.c:3487)
==435685== 

This problem occurs in frame 90.

Ways to reproduce

IVAS_dec -VOIP BINAURAL_ROOM_REVERB 48 stvOSBA_2ISM_2OA32c.wav_OSBA_2OA_2ISM_bitrate_switching_32kHz_in_48kHz_out_BINAURAL_ROOM_REVERB_out_JBM_Prof_5.netsimout out.wav

Bitstream: stvOSBA_2ISM_2OA32c.wav_OSBA_2OA_2ISM_bitrate_switching_32kHz_in_48kHz_out_BINAURAL_ROOM_REVERB_out_JBM_Prof_5.zip

Edited by multrus