Newly introduced findings

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1]
crun-HEAD/src/libcrun/handlers/krun.c: scope_hint: In function 'libkrun_configure_flavor'
crun-HEAD/src/libcrun/handlers/krun.c:291:20: warning[-Wanalyzer-null-argument]: use of NULL 'flavor' where non-null expected
crun-HEAD/libocispec/src/ocispec/json_common.h:7: included_from: Included from here.
crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_schema.h:7: included_from: Included from here.
crun-HEAD/src/libcrun/container.h:23: included_from: Included from here.
/usr/include/string.h:171:12: note: argument 1 of 'strcmp' must be non-null
#  289|     // The SEV flavor will be used if the krun VM config indicates to use SEV
#  290|     // within the "flavor" field.
#  291|->   sev_indicated |= strcmp (flavor, KRUN_FLAVOR_SEV) == 0;
#  292|     nitro_indicated |= strcmp (flavor, KRUN_FLAVOR_NITRO) == 0;
#  293|   

Scan Properties

analyzer-version-clippy1.92.0
analyzer-version-cppcheck2.19.1
analyzer-version-gcc16.0.0
analyzer-version-gcc-analyzer16.0.0
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.92.0
diffbase-analyzer-version-cppcheck2.19.1
diffbase-analyzer-version-gcc16.0.0
diffbase-analyzer-version-gcc-analyzer16.0.0
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-199.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.26-1.20260107111436039936.main.9.ge0a6f43f
diffbase-store-results-to/tmp/tmpu48d4ew5/crun-1.26-1.20260107111436039936.main.9.ge0a6f43f.tar.xz
diffbase-time-created2026-01-08 22:45:44
diffbase-time-finished2026-01-08 22:54:27
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmpu48d4ew5/crun-1.26-1.20260107111436039936.main.9.ge0a6f43f.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpu48d4ew5/crun-1.26-1.20260107111436039936.main.9.ge0a6f43f.src.rpm'
diffbase-tool-versioncsmock-3.8.3.20251215.161544.g62de9a5-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-199.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.26-1.20260108224003681382.pr1950.11.gbff10de2
store-results-to/tmp/tmp55xwr4nx/crun-1.26-1.20260108224003681382.pr1950.11.gbff10de2.tar.xz
time-created2026-01-08 22:54:58
time-finished2026-01-08 23:03:40
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmp55xwr4nx/crun-1.26-1.20260108224003681382.pr1950.11.gbff10de2.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmp55xwr4nx/crun-1.26-1.20260108224003681382.pr1950.11.gbff10de2.src.rpm'
tool-versioncsmock-3.8.3.20251215.161544.g62de9a5-1.el9