Fixed findings

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1]
guestfs-tools-1.53.3-build/guestfs-tools-1.53.3/common/options/keys.c: scope_hint: In function ‘key_store_add_from_selector’
guestfs-tools-1.53.3-build/guestfs-tools-1.53.3/common/options/keys.c:266:1: warning[-Wanalyzer-malloc-leak]: leak of ‘key.<U7130>.string.s’
guestfs-tools-1.53.3-build/guestfs-tools-1.53.3/common/utils/guestfs-utils.h:38: included_from: Included from here.
guestfs-tools-1.53.3-build/guestfs-tools-1.53.3/common/options/options.h:26: included_from: Included from here.
guestfs-tools-1.53.3-build/guestfs-tools-1.53.3/common/options/keys.c:34: included_from: Included from here.
guestfs-tools-1.53.3-build/guestfs-tools-1.53.3/lib/guestfs-internal-all.h:50:29: note: in definition of macro ‘STREQ’
#  264|   
#  265|     return key_store_import_key (ks, &key);
#  266|-> }
#  267|   
#  268|   /* Turn /dev/mapper/VG-LV into /dev/VG/LV, in-place. */

Scan Properties

analyzer-version-clippy1.82.0
analyzer-version-cppcheck2.16.0
analyzer-version-gcc14.2.1
analyzer-version-gcc-analyzer15.0.0
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.82.0
diffbase-analyzer-version-cppcheck2.16.0
diffbase-analyzer-version-gcc14.2.1
diffbase-analyzer-version-gcc-analyzer15.0.0
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-172.us-west-2.compute.internal
diffbase-mock-configfedora-rawhide-gcc-latest-x86_64
diffbase-project-nameguestfs-tools-1.53.4-1.fc42
diffbase-store-results-to/tmp/tmpaeodng0m/guestfs-tools-1.53.4-1.fc42.tar.xz
diffbase-time-created2024-11-13 00:10:06
diffbase-time-finished2024-11-13 00:13:09
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpaeodng0m/guestfs-tools-1.53.4-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpaeodng0m/guestfs-tools-1.53.4-1.fc42.src.rpm'
diffbase-tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-172.us-west-2.compute.internal
mock-configfedora-rawhide-gcc-latest-x86_64
project-nameguestfs-tools-1.53.3-1.fc41
store-results-to/tmp/tmp0d2mr1ox/guestfs-tools-1.53.3-1.fc41.tar.xz
time-created2024-11-13 00:06:00
time-finished2024-11-13 00:09:52
titleFixed findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmp0d2mr1ox/guestfs-tools-1.53.3-1.fc41.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmp0d2mr1ox/guestfs-tools-1.53.3-1.fc41.src.rpm'
tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9