Skip to content

OvmfPkg/VirtNorFlashDxe: sanity-check variables

Summary of Changes

Extend the ValidateFvHeader function, additionally to the header checks walk over the list of variables and sanity check them.

In case we find inconsistencies indicating variable store corruption return EFI_NOT_FOUND so the variable store will be re-initialized.

Approved Development Ticket

Jira: https://issues.redhat.com/browse/RHEL-20963

Merge request reports

Loading