mirror of https://github.com/acidanthera/audk.git
4a443f73fd
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. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Message-Id: <20240109112902.30002-4-kraxel@redhat.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com> [lersek@redhat.com: fix StartId initialization/assignment coding style] |
||
---|---|---|
.. | ||
VirtNorFlash.c | ||
VirtNorFlash.h | ||
VirtNorFlashDxe.c | ||
VirtNorFlashDxe.inf | ||
VirtNorFlashFvb.c |