From 5bbcd8703b4773e5560af2a9aa8b3c8d0f0ea53d Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Thu, 15 Dec 2022 11:52:48 +0000 Subject: [PATCH] trivial: Fix an impossible-to-hit read of undefined data --- src/fu-engine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fu-engine.c b/src/fu-engine.c index aaab9c0e6..47bfd098c 100644 --- a/src/fu-engine.c +++ b/src/fu-engine.c @@ -4813,7 +4813,7 @@ fu_engine_get_details_for_bytes(FuEngine *self, GBytes *blob, GError **error) { - const gchar *remote_id; + const gchar *remote_id = NULL; GChecksumType checksum_types[] = {G_CHECKSUM_SHA256, G_CHECKSUM_SHA1, 0}; g_autoptr(GError) error_local = NULL; g_autoptr(GPtrArray) components = NULL;