Task #130945 - added.err
back to task #130945download
Error: GCC_ANALYZER_WARNING (CWE-476):
fwupd-2.1.7/plugins/linux-swap/fu-linux-swap.c:201:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘error_name’
fwupd-2.1.7/plugins/linux-swap/fu-linux-swap.c:269:1: enter_function: entry to ‘fu_linux_swap_new’
fwupd-2.1.7/plugins/linux-swap/fu-linux-swap.c:278:12: branch_true: following ‘true’ branch...
fwupd-2.1.7/plugins/linux-swap/fu-linux-swap.c:278:12: branch_true: ...to here
fwupd-2.1.7/plugins/linux-swap/fu-linux-swap.c:279:35: branch_true: following ‘true’ branch...
fwupd-2.1.7/plugins/linux-swap/fu-linux-swap.c:290:28: branch_true: following ‘true’ branch...
fwupd-2.1.7/plugins/linux-swap/fu-linux-swap.c:291:33: branch_true: ...to here
fwupd-2.1.7/plugins/linux-swap/fu-linux-swap.c:292:38: call_function: calling ‘fu_linux_swap_verify_partition’ from ‘fu_linux_swap_new’
# 199| }
# 200| if (!fu_linux_swap_block_has_crypt_below(pstore, name, 0, &encrypted_below, &error_walk)) {
# 201|-> g_debug("dm walk failed for %s: %s", fn, error_walk->message);
# 202| } else if (encrypted_below) {
# 203| g_debug("%s partition is encrypted via dm chain below %s", fn, name);
Error: GCC_ANALYZER_WARNING (CWE-476):
fwupd-2.1.7/plugins/linux-swap/fu-linux-swap.c:201:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘error_walk’
fwupd-2.1.7/plugins/linux-swap/fu-linux-swap.c:269:1: enter_function: entry to ‘fu_linux_swap_new’
fwupd-2.1.7/plugins/linux-swap/fu-linux-swap.c:278:12: branch_true: following ‘true’ branch...
fwupd-2.1.7/plugins/linux-swap/fu-linux-swap.c:278:12: branch_true: ...to here
fwupd-2.1.7/plugins/linux-swap/fu-linux-swap.c:279:35: branch_true: following ‘true’ branch...
fwupd-2.1.7/plugins/linux-swap/fu-linux-swap.c:290:28: branch_true: following ‘true’ branch...
fwupd-2.1.7/plugins/linux-swap/fu-linux-swap.c:291:33: branch_true: ...to here
fwupd-2.1.7/plugins/linux-swap/fu-linux-swap.c:292:38: call_function: calling ‘fu_linux_swap_verify_partition’ from ‘fu_linux_swap_new’
# 199| }
# 200| if (!fu_linux_swap_block_has_crypt_below(pstore, name, 0, &encrypted_below, &error_walk)) {
# 201|-> g_debug("dm walk failed for %s: %s", fn, error_walk->message);
# 202| } else if (encrypted_below) {
# 203| g_debug("%s partition is encrypted via dm chain below %s", fn, name);
Error: GCC_ANALYZER_WARNING (CWE-476):
fwupd-2.1.7/plugins/linux-swap/fu-linux-swap.c:257:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘error_walk’
fwupd-2.1.7/plugins/linux-swap/fu-linux-swap.c:269:1: enter_function: entry to ‘fu_linux_swap_new’
fwupd-2.1.7/plugins/linux-swap/fu-linux-swap.c:278:12: branch_true: following ‘true’ branch...
fwupd-2.1.7/plugins/linux-swap/fu-linux-swap.c:278:12: branch_true: ...to here
fwupd-2.1.7/plugins/linux-swap/fu-linux-swap.c:279:35: branch_true: following ‘true’ branch...
fwupd-2.1.7/plugins/linux-swap/fu-linux-swap.c:290:28: branch_false: following ‘false’ branch...
fwupd-2.1.7/plugins/linux-swap/fu-linux-swap.c:294:36: branch_false: ...to here
fwupd-2.1.7/plugins/linux-swap/fu-linux-swap.c:294:35: branch_true: following ‘true’ branch...
fwupd-2.1.7/plugins/linux-swap/fu-linux-swap.c:295:51: branch_true: ...to here
fwupd-2.1.7/plugins/linux-swap/fu-linux-swap.c:305:38: call_function: calling ‘fu_linux_swap_verify_file’ from ‘fu_linux_swap_new’
# 255| &encrypted_below,
# 256| &error_walk)) {
# 257|-> g_debug("dm walk failed for %s: %s", fn, error_walk->message);
# 258| } else if (encrypted_below) {
# 259| g_debug("%s file is encrypted via dm chain below %s", fn, name);