Newly introduced findings

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1]
crun-HEAD/src/libcrun/seccomp.c: scope_hint: In function 'open_seccomp_bpf_dirfd'
crun-HEAD/src/libcrun/seccomp.c:595:9: warning[-Wanalyzer-null-dereference]: dereference of NULL '*container.context'
crun-HEAD/src/libcrun/seccomp.c: scope_hint: In function 'open_seccomp_bpf_dirfd'
crun-HEAD/src/libcrun/seccomp.c: scope_hint: In function 'open_seccomp_bpf_dirfd'
#  593|   
#  594|     /* relative path to dirfd.  */
#  595|->   ret = append_paths (rel_path, err, container->context->id, "seccomp.bpf", NULL);
#  596|     if (UNLIKELY (ret < 0))
#  597|       {

Error: GCC_ANALYZER_WARNING (CWE-1341): [#def2]
crun-HEAD/src/libcrun/seccomp.c:598:27: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'open_rundir_dirfd(<unknown>,  err)'
crun-HEAD/src/libcrun/seccomp.c: scope_hint: In function 'open_seccomp_bpf_dirfd'
#  596|     if (UNLIKELY (ret < 0))
#  597|       {
#  598|->       TEMP_FAILURE_RETRY (close (dirfd));
#  599|         return ret;
#  600|       }

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
diffbase-analyzer-version-clippy1.97.1
diffbase-analyzer-version-cppcheck2.21.1
diffbase-analyzer-version-gcc16.1.1
diffbase-analyzer-version-gcc-analyzer16.1.1
diffbase-analyzer-version-shellcheck0.11.0
diffbase-analyzer-version-unicontrol0.0.2
diffbase-enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
diffbase-exit-code0
diffbase-hostip-172-16-1-191.us-west-2.compute.internal
diffbase-known-false-positives/usr/share/csmock/known-false-positives.js
diffbase-known-false-positives-rpmknown-false-positives-0.0.0.20260813.215201.gc98a3c4.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-namecrun-1.29.1-1.20260816231134416535.main.13.g5ff51777
diffbase-store-results-to/tmp/tmp2t94uqw3/crun-1.29.1-1.20260816231134416535.main.13.g5ff51777.tar.xz
diffbase-time-created2026-08-17 23:36:46
diffbase-time-finished2026-08-17 23:41:32
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,clippy,unicontrol,shellcheck,cppcheck' '-o' '/tmp/tmp2t94uqw3/crun-1.29.1-1.20260816231134416535.main.13.g5ff51777.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmp2t94uqw3/crun-1.29.1-1.20260816231134416535.main.13.g5ff51777.src.rpm'
diffbase-tool-versioncsmock-3.8.7.20260810.142351.gef180f1-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-191.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20260813.215201.gc98a3c4.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namecrun-1.29.1-1.20260817233053331575.pr2186.43.gb07c93dc
store-results-to/tmp/tmpq9s21uw6/crun-1.29.1-1.20260817233053331575.pr2186.43.gb07c93dc.tar.xz
time-created2026-08-17 23:42:01
time-finished2026-08-17 23:45:23
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,clippy,unicontrol,shellcheck,cppcheck' '-o' '/tmp/tmpq9s21uw6/crun-1.29.1-1.20260817233053331575.pr2186.43.gb07c93dc.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpq9s21uw6/crun-1.29.1-1.20260817233053331575.pr2186.43.gb07c93dc.src.rpm'
tool-versioncsmock-3.8.7.20260810.142351.gef180f1-1.el9