Task #132264 - libsamplerate-0.2.2-12.fc44/scan-results.err
back to task #132264download
Error: GCC_ANALYZER_WARNING (CWE-416):
libsamplerate-0.2.2/examples/audio_out.c:421:13: warning[-Wanalyzer-use-after-free]: use after ‘free’ of ‘audio_out’
libsamplerate-0.2.2/examples/audio_out.c:1065:1: enter_function: entry to ‘audio_close’
libsamplerate-0.2.2/examples/audio_out.c:1069:20: branch_true: following ‘true’ branch...
libsamplerate-0.2.2/examples/audio_out.c:1070:25: branch_true: ...to here
libsamplerate-0.2.2/examples/audio_out.c:1070:25: call_function: calling ‘alsa_close’ from ‘audio_close’
libsamplerate-0.2.2/examples/audio_out.c:1070:25: return_function: returning to ‘audio_close’ from ‘alsa_close’
libsamplerate-0.2.2/examples/audio_out.c:1072:9: call_function: calling ‘opensoundsys_close’ from ‘audio_close’
# 419| } ;
# 420|
# 421|-> if (opensoundsys_out->magic != OSS_MAGIC)
# 422| { printf ("opensoundsys_close : Bad magic number.\n") ;
# 423| return ;