libsamplerate-0.2.2-12.fc44

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-416): [#def1]
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 ;

Scan Properties

analyzer-version-clippy1.97.1
analyzer-version-cppcheck2.21.1
analyzer-version-gcc16.1.1
analyzer-version-gcc-analyzer16.1.1
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-176.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20260524.213755.g3c6d0be.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namelibsamplerate-0.2.2-12.fc44
store-results-to/tmp/tmpwcsgvu39/libsamplerate-0.2.2-12.fc44.tar.xz
time-created2026-08-03 17:50:18
time-finished2026-08-03 17:52:49
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,clippy,unicontrol,shellcheck,cppcheck' '-o' '/tmp/tmpwcsgvu39/libsamplerate-0.2.2-12.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpwcsgvu39/libsamplerate-0.2.2-12.fc44.src.rpm'
tool-versioncsmock-3.8.7.20260803.142340.gb75b18e-1.el9