Newly introduced findings

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-1341): [#def1]
podman-6.0.1/pkg/rootless/rootless_linux.c:73:5: warning[-Wanalyzer-fd-double-close]: double ‘close’ of file descriptor ‘mnt_fd’
podman-6.0.1/pkg/rootless/rootless_linux.c:148:1: enter_function: entry to ‘get_ns_handles’
podman-6.0.1/pkg/rootless/rootless_linux.c:157:12: acquire_resource: opened here
podman-6.0.1/pkg/rootless/rootless_linux.c:158:6: branch_false: following ‘false’ branch...
podman-6.0.1/pkg/rootless/rootless_linux.c:161:61: branch_false: ...to here
podman-6.0.1/pkg/rootless/rootless_linux.c:150:21: call_function: inlined call to ‘cleanup_closep’ from ‘get_ns_handles’
#   71|     int *pp = p;
#   72|     if (*pp >= 0)
#   73|->     TEMP_FAILURE_RETRY (close (*pp));
#   74|   }
#   75|   

Error: CPPCHECK_WARNING (CWE-401): [#def2]
podman-6.0.1/pkg/rootless/rootless_linux.c:666: error[memleak]: Memory leak: buf
#  664|     fd = open (environ_path, O_RDONLY | O_CLOEXEC);
#  665|     if (fd < 0)
#  666|->     return 0;
#  667|   
#  668|     /* Read in chunks and search for the null-delimited key=value entry.  */

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-130.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.20260524.213755.g3c6d0be.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-namepodman-5.8.1-1.fc44
diffbase-store-results-to/tmp/tmpp_gtr8zd/podman-5.8.1-1.fc44.tar.xz
diffbase-time-created2026-08-03 19:33:32
diffbase-time-finished2026-08-03 19:38:48
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,clippy,unicontrol,shellcheck,cppcheck' '-o' '/tmp/tmpp_gtr8zd/podman-5.8.1-1.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpp_gtr8zd/podman-5.8.1-1.fc44.src.rpm'
diffbase-tool-versioncsmock-3.8.7.20260803.142340.gb75b18e-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-130.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-namepodman-6.0.1-2.fc45
store-results-to/tmp/tmp25dhnsfk/podman-6.0.1-2.fc45.tar.xz
time-created2026-08-03 19:39:21
time-finished2026-08-03 19:43:46
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,clippy,unicontrol,shellcheck,cppcheck' '-o' '/tmp/tmp25dhnsfk/podman-6.0.1-2.fc45.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp25dhnsfk/podman-6.0.1-2.fc45.src.rpm'
tool-versioncsmock-3.8.7.20260803.142340.gb75b18e-1.el9