You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This later triggeres uninitialized read in psf_open_file:
if (psf->file.mode == SFM_READ)
{ if ((SF_CONTAINER (sfinfo->format)) == SF_FORMAT_RAW)
Valgrind report is
==22949== Conditional jump or move depends on uninitialised value(s)
==22949== at 0x524E82D: psf_open_file (/build/libsndfile-1.0.25/src/sndfile.c:2591)
==22949== by 0x40186E: error_value_test (/build/libsndfile-1.0.25/tests/error_test.c:86)
==22949== by 0x40186E: main (/build/libsndfile-1.0.25/tests/error_test.c:236)
The issue has been found using Valgrind and debian_pkg_test.
The text was updated successfully, but these errors were encountered:
error_value_test
function in error_test.c does not zero-initializesfinfo.format
field before passing it tosf_open
:This later triggeres uninitialized read in
psf_open_file
:Valgrind report is
The issue has been found using Valgrind and debian_pkg_test.
The text was updated successfully, but these errors were encountered: