libseccomp-2.6.0-3.fc44

List of Findings

Error: CPPCHECK_WARNING (CWE-562): [#def1]
libseccomp-2.6.0/src/gen_bpf.c:2010: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
# 2008|   	memset(&pseudo_arch, 0, sizeof(pseudo_arch));
# 2009|   	pseudo_arch.endian = col->endian;
# 2010|-> 	state->arch = &pseudo_arch;
# 2011|   
# 2012|   	/* generate the badarch action */

Error: CPPCHECK_WARNING (CWE-562): [#def2]
libseccomp-2.6.0/src/gen_bpf.c:2083: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
# 2081|   
# 2082|   	/* reset the state to the pseudo_arch for the final resolution */
# 2083|-> 	state->arch = &pseudo_arch;
# 2084|   
# 2085|   	/* resolve any TGT_NXT jumps at the top level */

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-231.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-namelibseccomp-2.6.0-3.fc44
store-results-to/tmp/tmptpdxmnfy/libseccomp-2.6.0-3.fc44.tar.xz
time-created2026-08-03 17:51:05
time-finished2026-08-03 17:53:32
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,clippy,unicontrol,shellcheck,cppcheck' '-o' '/tmp/tmptpdxmnfy/libseccomp-2.6.0-3.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmptpdxmnfy/libseccomp-2.6.0-3.fc44.src.rpm'
tool-versioncsmock-3.8.7.20260803.142340.gb75b18e-1.el9