Fixed findings

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1]
crun-HEAD/src/libcrun/cgroup-resources.c:153:12: warning[-Wanalyzer-null-argument]: use of NULL 'controllers' where non-null expected
crun-HEAD/src/libcrun/cgroup-resources.c: scope_hint: In function 'check_cgroup_v2_controller_available_wrapper'
crun-HEAD/src/libcrun/cgroup-resources.c:325:16: note: in expansion of macro 'crun_make_error'
<built-in>: note: argument 1 of '__builtin_strchr' must be non-null
#  151|         key = xstrdup (name);
#  152|   
#  153|->       it = strchr (key, '.');
#  154|         if (it == NULL)
#  155|           {

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-85.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.20250611091845410693.pr1781.194.g9605c278
diffbase-store-results-to/tmp/tmpk_t3so8e/crun-1.21-1.20250611091845410693.pr1781.194.g9605c278.tar.xz
diffbase-time-created2025-06-11 09:31:12
diffbase-time-finished2025-06-11 09:35:55
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'clippy,shellcheck,gcc,cppcheck,unicontrol' '-o' '/tmp/tmpk_t3so8e/crun-1.21-1.20250611091845410693.pr1781.194.g9605c278.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpk_t3so8e/crun-1.21-1.20250611091845410693.pr1781.194.g9605c278.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-85.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.20250610161008779900.main.183.g8c689a90
store-results-to/tmp/tmpwa77qi42/crun-1.21-1.20250610161008779900.main.183.g8c689a90.tar.xz
time-created2025-06-11 09:25:43
time-finished2025-06-11 09:30:58
titleFixed findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'clippy,shellcheck,gcc,cppcheck,unicontrol' '-o' '/tmp/tmpwa77qi42/crun-1.21-1.20250610161008779900.main.183.g8c689a90.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpwa77qi42/crun-1.21-1.20250610161008779900.main.183.g8c689a90.src.rpm'
tool-versioncsmock-3.8.1.20250522.153104.ga728c5b-1.el9