diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2024-01-09 12:29:02 +0100 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-01-09 16:31:57 +0000 |
commit | 4a443f73fd67ca8caaf0a3e1a01f8231b330d2e0 (patch) | |
tree | b6bf83b76b0bbde6a4d9a7a8f3f9453ddcba8d3a /UefiPayloadPkg/UefiPayloadEntry | |
parent | ae22b2f136bcbd27135a5f4dd76d3a68a172d00e (diff) | |
download | edk2-4a443f73fd67ca8caaf0a3e1a01f8231b330d2e0.tar.gz |
OvmfPkg/VirtNorFlashDxe: sanity-check variables
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]
Diffstat (limited to 'UefiPayloadPkg/UefiPayloadEntry')
0 files changed, 0 insertions, 0 deletions