Newly introduced findings

List of Findings

Error: COMPILER_WARNING: [#def1]
crun-HEAD/src/libcrun/seccomp.c: scope_hint: In function 'calculate_seccomp_checksum'
crun-HEAD/src/libcrun/seccomp.c:447:44: warning[-Wformat-truncation=]: '__snprintf_chk' output truncated before the last format character
#  447 |       ret = snprintf (&out[i * 2], 2, "%02x", hash[i]);
#      |                                            ^
/usr/include/bits/stdio2.h:68:10: note: '__snprintf_chk' output 3 bytes into a destination of size 2
#   68 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
#      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#   69 |                                    __glibc_objsize (__s), __fmt,
#      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#   70 |                                    __va_arg_pack ());
#      |                                    ~~~~~~~~~~~~~~~~~
#  445|     for (i = 0; i < 32; i++)
#  446|       {
#  447|->       ret = snprintf (&out[i * 2], 2, "%02x", hash[i]);
#  448|         if (UNLIKELY (ret != 2))
#  449|           return crun_make_error (err, 0, "internal error: static buffer has wrong size");

Scan Properties

analyzer-version-clippy1.87.0
analyzer-version-cppcheck2.17.1
analyzer-version-gcc15.1.1
analyzer-version-gcc-analyzer15.1.1
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.87.0
diffbase-analyzer-version-cppcheck2.17.1
diffbase-analyzer-version-gcc15.1.1
diffbase-analyzer-version-gcc-analyzer15.1.1
diffbase-analyzer-version-shellcheck0.10.0
diffbase-analyzer-version-unicontrol0.0.2
diffbase-enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
diffbase-exit-code0
diffbase-hostip-172-16-1-221.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.20250521.132812.g8eff701.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-namecrun-1.21-1.20250610161008779900.main.183.g8c689a90
diffbase-store-results-to/tmp/tmp0_08ky2v/crun-1.21-1.20250610161008779900.main.183.g8c689a90.tar.xz
diffbase-time-created2025-06-11 08:41:50
diffbase-time-finished2025-06-11 08:47:00
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'clippy,shellcheck,gcc,cppcheck,unicontrol' '-o' '/tmp/tmp0_08ky2v/crun-1.21-1.20250610161008779900.main.183.g8c689a90.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmp0_08ky2v/crun-1.21-1.20250610161008779900.main.183.g8c689a90.src.rpm'
diffbase-tool-versioncsmock-3.8.1.20250522.153104.ga728c5b-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-221.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namecrun-1.21-1.20250611082950875623.pr1781.194.gb1afe5ba
store-results-to/tmp/tmp4y0pu4al/crun-1.21-1.20250611082950875623.pr1781.194.gb1afe5ba.tar.xz
time-created2025-06-11 08:47:17
time-finished2025-06-11 08:52:03
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'clippy,shellcheck,gcc,cppcheck,unicontrol' '-o' '/tmp/tmp4y0pu4al/crun-1.21-1.20250611082950875623.pr1781.194.gb1afe5ba.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmp4y0pu4al/crun-1.21-1.20250611082950875623.pr1781.194.gb1afe5ba.src.rpm'
tool-versioncsmock-3.8.1.20250522.153104.ga728c5b-1.el9