diff --git a/common/ffsparser.cpp b/common/ffsparser.cpp index 93d3e6c..6b7fe22 100644 --- a/common/ffsparser.cpp +++ b/common/ffsparser.cpp @@ -1159,12 +1159,6 @@ USTATUS FfsParser::parseVolumeHeader(const UByteArray & volume, const UINT32 loc (msgInvalidChecksum ? usprintf(", invalid, should be %04Xh", calculated) : UString(", valid")); // Extended header present - - // volumeHeader->ExtHeaderOffset should be aligned to 4 bytes - if (volumeHeader->ExtHeaderOffset % 4) { - msg(usprintf("%s: ExtHeaderOffset %04Xh (%hu) is not aligned by 4 bytes", __FUNCTION__, volumeHeader->ExtHeaderOffset, volumeHeader->ExtHeaderOffset)); - return U_INVALID_VOLUME; - } if (volumeHeader->Revision > 1 && volumeHeader->ExtHeaderOffset) { if ((UINT32)volume.size() < volumeHeader->ExtHeaderOffset + sizeof(EFI_FIRMWARE_VOLUME_EXT_HEADER)) { return U_INVALID_VOLUME;