mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-14 02:40:34 +00:00
Fix parsing uSWID uncompressed metadata
The magic offset is not required as we're working on a pre-offset GBytes.
This commit is contained in:
parent
9e3bd17c70
commit
c43b981d63
@ -198,7 +198,7 @@ fu_uswid_firmware_parse(FuFirmware *firmware,
|
||||
}
|
||||
|
||||
/* payload */
|
||||
for (gsize offset_tmp = offset; offset_tmp < payloadsz;) {
|
||||
for (gsize offset_tmp = 0; offset_tmp < payloadsz;) {
|
||||
g_autoptr(FuFirmware) firmware_coswid = fu_coswid_firmware_new();
|
||||
g_autoptr(GBytes) fw2 = NULL;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user