Skip to content

Conversation

@nate-desimone
Copy link

An issue has been observed in the case of an FFS section header using the EFI_COMMON_SECTION_HEADER2 header type. If this header type is used, the self.data attribute will erroneously contain the ExtendedSize field of the header at offset 0 instead of the beginning of the section data.

All header data should be stripped from self.data.

This issue has been corrected by offsetting the data by 8 bytes instead of 4 bytes when EFI_COMMON_SECTION_HEADER2 is found.

An issue has been observed in the case of an FFS section header using
the EFI_COMMON_SECTION_HEADER2 header type. If this header type is used,
the self.data attribute will erroneously contain the ExtendedSize field
of the header at offset 0 instead of the beginning of the section data.

All header data should be stripped from self.data.

This issue has been corrected by offsetting the data by 8 bytes instead
of 4 bytes when EFI_COMMON_SECTION_HEADER2 is found.

Signed-off-by: Nate DeSimone <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant