Task #90900 - added.err

back to task #90900
download
Error: GCC_ANALYZER_WARNING (CWE-476):
fwupd-2.0.19/libfwupdplugin/fu-firmware.c:2670:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘error_all’
fwupd-2.0.19/libfwupdplugin/fu-firmware.c:2632:1: enter_function: entry to ‘fu_firmware_new_from_gtypes’
fwupd-2.0.19/libfwupdplugin/fu-firmware.c:2640:27: release_memory: ‘error_all’ is NULL
fwupd-2.0.19/libfwupdplugin/fu-firmware.c:2642:9: branch_false: following ‘false’ branch (when ‘stream’ is non-NULL)...
fwupd-2.0.19/libfwupdplugin/fu-firmware.c:2642:9: branch_false: ...to here
fwupd-2.0.19/libfwupdplugin/fu-firmware.c:2656:12: branch_false: following ‘false’ branch...
fwupd-2.0.19/libfwupdplugin/fu-firmware.c:2656:12: branch_false: ...to here
fwupd-2.0.19/libfwupdplugin/fu-firmware.c:2665:27: branch_true: following ‘true’ branch...
fwupd-2.0.19/libfwupdplugin/fu-firmware.c:2666:31: branch_true: ...to here
fwupd-2.0.19/libfwupdplugin/fu-firmware.c:2668:35: release_memory: ‘error_all’ is NULL
fwupd-2.0.19/libfwupdplugin/fu-firmware.c:2669:22: call_function: calling ‘fu_firmware_parse_stream’ from ‘fu_firmware_new_from_gtypes’
fwupd-2.0.19/libfwupdplugin/fu-firmware.c:2669:22: return_function: returning to ‘fu_firmware_new_from_gtypes’ from ‘fu_firmware_parse_stream’
fwupd-2.0.19/libfwupdplugin/fu-firmware.c:2669:20: branch_true: following ‘true’ branch...
fwupd-2.0.19/libfwupdplugin/fu-firmware.c:2670:25: branch_true: ...to here
fwupd-2.0.19/libfwupdplugin/fu-firmware.c:2670:25: release_memory: ‘error_all’ is NULL
fwupd-2.0.19/libfwupdplugin/fu-firmware.c:2670:25: danger: dereference of NULL ‘error_local’
# 2668|   		g_autoptr(GError) error_local = NULL;
# 2669|   		if (!fu_firmware_parse_stream(firmware, stream, offset, flags, &error_local)) {
# 2670|-> 			g_debug("@0x%x %s", (guint)offset, error_local->message);
# 2671|   			if (error_all == NULL) {
# 2672|   				g_propagate_error(&error_all, g_steal_pointer(&error_local));