Newly introduced findings

List of Findings

Error: COMPILER_WARNING (CWE-563): [#def1]
crun-HEAD/src/libcrun/linux.c: scope_hint: In function 'do_pivot'
crun-HEAD/src/libcrun/linux.c:2248:26: warning[-Wunused-variable]: unused variable 'private_data'
# 2248 |   struct private_data_s *private_data = get_private_data (container);
#      |                          ^~~~~~~~~~~~
# 2246|   do_pivot (libcrun_container_t *container, const char *rootfs, libcrun_error_t *err)
# 2247|   {
# 2248|->   struct private_data_s *private_data = get_private_data (container);
# 2249|     cleanup_close int oldrootfd = -1;
# 2250|     cleanup_close int newrootfd = -1;

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-81.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-namecrun-1.27.1-1.20260527104850671258.main.42.g7e45b26b
diffbase-store-results-to/tmp/tmp6tgmtq_e/crun-1.27.1-1.20260527104850671258.main.42.g7e45b26b.tar.xz
diffbase-time-created2026-05-28 10:47:59
diffbase-time-finished2026-05-28 10:52:02
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'shellcheck,cppcheck,clippy,unicontrol,gcc' '-o' '/tmp/tmp6tgmtq_e/crun-1.27.1-1.20260527104850671258.main.42.g7e45b26b.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmp6tgmtq_e/crun-1.27.1-1.20260527104850671258.main.42.g7e45b26b.src.rpm'
diffbase-tool-versioncsmock-3.8.5-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-81.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-namecrun-1.28-1.20260528095310580624.pr2094.22.g5d12140a
store-results-to/tmp/tmp0tgkh8a4/crun-1.28-1.20260528095310580624.pr2094.22.g5d12140a.tar.xz
time-created2026-05-28 10:52:26
time-finished2026-05-28 10:55:21
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'shellcheck,cppcheck,clippy,unicontrol,gcc' '-o' '/tmp/tmp0tgkh8a4/crun-1.28-1.20260528095310580624.pr2094.22.g5d12140a.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmp0tgkh8a4/crun-1.28-1.20260528095310580624.pr2094.22.g5d12140a.src.rpm'
tool-versioncsmock-3.8.5-1.el9