Task #22877 - added.err

back to task #22877
download
Error: GCC_ANALYZER_WARNING (CWE-401):
guestfs-tools-1.53.4-build/guestfs-tools-1.53.4/common/options/keys.c: scope_hint: In function 'key_store_add_from_selector'
guestfs-tools-1.53.4-build/guestfs-tools-1.53.4/common/options/keys.c:266:1: warning[-Wanalyzer-malloc-leak]: leak of 'key.<U6130>.string.s'
guestfs-tools-1.53.4-build/guestfs-tools-1.53.4/common/utils/guestfs-utils.h:38: included_from: Included from here.
guestfs-tools-1.53.4-build/guestfs-tools-1.53.4/common/options/options.h:26: included_from: Included from here.
guestfs-tools-1.53.4-build/guestfs-tools-1.53.4/common/options/keys.c:34: included_from: Included from here.
guestfs-tools-1.53.4-build/guestfs-tools-1.53.4/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. */

Error: GCC_ANALYZER_WARNING (CWE-401):
guestfs-tools-1.53.4-build/guestfs-tools-1.53.4/common/options/keys.c: scope_hint: In function ‘key_store_add_from_selector’
guestfs-tools-1.53.4-build/guestfs-tools-1.53.4/common/options/keys.c:266:1: warning[-Wanalyzer-malloc-leak]: leak of ‘key.<U1130>.string.s’
guestfs-tools-1.53.4-build/guestfs-tools-1.53.4/common/utils/guestfs-utils.h:38: included_from: Included from here.
guestfs-tools-1.53.4-build/guestfs-tools-1.53.4/common/options/options.h:26: included_from: Included from here.
guestfs-tools-1.53.4-build/guestfs-tools-1.53.4/common/options/keys.c:34: included_from: Included from here.
guestfs-tools-1.53.4-build/guestfs-tools-1.53.4/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. */