mirror of
https://git.proxmox.com/git/fwupd
synced 2025-07-27 09:46:25 +00:00
trivial: Fix an impossible-to-hit read of undefined data
This commit is contained in:
parent
f3a541bf91
commit
5bbcd8703b
@ -4813,7 +4813,7 @@ fu_engine_get_details_for_bytes(FuEngine *self,
|
|||||||
GBytes *blob,
|
GBytes *blob,
|
||||||
GError **error)
|
GError **error)
|
||||||
{
|
{
|
||||||
const gchar *remote_id;
|
const gchar *remote_id = NULL;
|
||||||
GChecksumType checksum_types[] = {G_CHECKSUM_SHA256, G_CHECKSUM_SHA1, 0};
|
GChecksumType checksum_types[] = {G_CHECKSUM_SHA256, G_CHECKSUM_SHA1, 0};
|
||||||
g_autoptr(GError) error_local = NULL;
|
g_autoptr(GError) error_local = NULL;
|
||||||
g_autoptr(GPtrArray) components = NULL;
|
g_autoptr(GPtrArray) components = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user