Fixed findings

List of Findings

Error: COMPILER_WARNING (CWE-563): [#def1]
crun-1.19.1-build/crun-HEAD/src/libcrun/handlers/krun.c: scope_hint: In function 'libkrun_load'
crun-1.19.1-build/crun-HEAD/src/libcrun/handlers/krun.c:262:9: warning[-Wunused-variable]: unused variable 'handle'
#  262 |   void *handle;
#      |         ^~~~~~
#  260|   {
#  261|     struct krun_config *kconf;
#  262|->   void *handle;
#  263|     const char *libkrun_so = "libkrun.so.1";
#  264|     const char *libkrun_sev_so = "libkrun-sev.so.1";

Scan Properties

analyzer-version-clippy1.84.1
analyzer-version-cppcheck2.16.2
analyzer-version-gcc15.0.1
analyzer-version-gcc-analyzer15.0.1
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.84.1
diffbase-analyzer-version-cppcheck2.16.2
diffbase-analyzer-version-gcc15.0.1
diffbase-analyzer-version-gcc-analyzer15.0.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-8.us-west-2.compute.internal
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-namecrun-1.19.1-1.20250203091329278137.pr1656.49.gf1ef3bb4
diffbase-store-results-to/tmp/tmp89936i7a/crun-1.19.1-1.20250203091329278137.pr1656.49.gf1ef3bb4.tar.xz
diffbase-time-created2025-02-03 09:23:14
diffbase-time-finished2025-02-03 09:27:45
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,clippy,shellcheck,gcc,unicontrol' '-o' '/tmp/tmp89936i7a/crun-1.19.1-1.20250203091329278137.pr1656.49.gf1ef3bb4.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '/tmp/tmp89936i7a/crun-1.19.1-1.20250203091329278137.pr1656.49.gf1ef3bb4.src.rpm'
diffbase-tool-versioncsmock-3.8.0-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-8.us-west-2.compute.internal
mock-configfedora-rawhide-x86_64
project-namecrun-1.19.1-1.20250131080139760723.main.46.ga029af28
store-results-to/tmp/tmpl5nv_hbm/crun-1.19.1-1.20250131080139760723.main.46.ga029af28.tar.xz
time-created2025-02-03 09:17:45
time-finished2025-02-03 09:22:59
titleFixed findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,clippy,shellcheck,gcc,unicontrol' '-o' '/tmp/tmpl5nv_hbm/crun-1.19.1-1.20250131080139760723.main.46.ga029af28.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '/tmp/tmpl5nv_hbm/crun-1.19.1-1.20250131080139760723.main.46.ga029af28.src.rpm'
tool-versioncsmock-3.8.0-1.el9