mirror of
https://github.com/LongSoft/UEFITool.git
synced 2025-05-13 06:34:42 -04: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
1 changed files with 1 additions and 3 deletions
|
@ -2369,9 +2369,7 @@ USTATUS FfsParser::parseGuidedSectionHeader(const UByteArray & section, const UI
|
||||||
additionalInfo += usprintf("\nChecksum: %08Xh, invalid, should be %08Xh", crc, calculated);
|
additionalInfo += usprintf("\nChecksum: %08Xh, invalid, should be %08Xh", crc, calculated);
|
||||||
msgInvalidCrc = true;
|
msgInvalidCrc = true;
|
||||||
}
|
}
|
||||||
|
// No need to change dataOffset here
|
||||||
// Adjust dataOffset
|
|
||||||
dataOffset += sizeof(UINT32);
|
|
||||||
}
|
}
|
||||||
else if (baGuid == EFI_GUIDED_SECTION_LZMA
|
else if (baGuid == EFI_GUIDED_SECTION_LZMA
|
||||||
|| baGuid == EFI_GUIDED_SECTION_LZMA_HP
|
|| baGuid == EFI_GUIDED_SECTION_LZMA_HP
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue