mirror of
https://github.com/LongSoft/UEFITool.git
synced 2024-11-24 08:58:23 +08:00
Update ffsparser.cpp
Fix an issue with parsing CRC32 sections introduced in the previous commit
This commit is contained in:
parent
1b143c89e6
commit
19ab6076c4
@ -2369,9 +2369,7 @@ USTATUS FfsParser::parseGuidedSectionHeader(const UByteArray & section, const UI
|
||||
additionalInfo += usprintf("\nChecksum: %08Xh, invalid, should be %08Xh", crc, calculated);
|
||||
msgInvalidCrc = true;
|
||||
}
|
||||
|
||||
// Adjust dataOffset
|
||||
dataOffset += sizeof(UINT32);
|
||||
// No need to change dataOffset here
|
||||
}
|
||||
else if (baGuid == EFI_GUIDED_SECTION_LZMA
|
||||
|| baGuid == EFI_GUIDED_SECTION_LZMA_HP
|
||||
|
Loading…
Reference in New Issue
Block a user