Newly introduced findings

List of Findings

Error: COMPILER_WARNING (CWE-252): [#def1]
crun-HEAD/src/libcrun/linux.c: scope_hint: In function 'setup_mount_namespace'
crun-HEAD/src/libcrun/linux.c:3520:18: warning[-Wunused-result]: ignoring return value of 'fchmodat' declared with attribute 'warn_unused_result'
# 3520 |           (void) fchmodat (procfd, fd_path, st.st_mode & 07777, 0);
#      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 3518|   
# 3519|             get_self_fd_path (fd_path, mnt_fd);
# 3520|->           (void) fchmodat (procfd, fd_path, st.st_mode & 07777, 0);
# 3521|           }
# 3522|   

Scan Properties

analyzer-version-clippy1.95.0
analyzer-version-cppcheck2.20.0
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.95.0
diffbase-analyzer-version-cppcheck2.20.0
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-229.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.20260420.180315.gd39a405.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-namecrun-1.27.1-1.20260517040128959009.main.36.gda9de8a0
diffbase-store-results-to/tmp/tmpy5dh1bye/crun-1.27.1-1.20260517040128959009.main.36.gda9de8a0.tar.xz
diffbase-time-created2026-05-20 19:40:23
diffbase-time-finished2026-05-20 19:44:06
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'shellcheck,cppcheck,clippy,unicontrol,gcc' '-o' '/tmp/tmpy5dh1bye/crun-1.27.1-1.20260517040128959009.main.36.gda9de8a0.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpy5dh1bye/crun-1.27.1-1.20260517040128959009.main.36.gda9de8a0.src.rpm'
diffbase-tool-versioncsmock-3.8.5-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-229.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20260420.180315.gd39a405.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namecrun-1.27.1-1.20260520192918390236.pr2094.56.g683e89e2
store-results-to/tmp/tmpna2ud1w1/crun-1.27.1-1.20260520192918390236.pr2094.56.g683e89e2.tar.xz
time-created2026-05-20 19:44:29
time-finished2026-05-20 19:47:29
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'shellcheck,cppcheck,clippy,unicontrol,gcc' '-o' '/tmp/tmpna2ud1w1/crun-1.27.1-1.20260520192918390236.pr2094.56.g683e89e2.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpna2ud1w1/crun-1.27.1-1.20260520192918390236.pr2094.56.g683e89e2.src.rpm'
tool-versioncsmock-3.8.5-1.el9