summaryrefslogtreecommitdiff
path: root/UefiPayloadPkg
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2024-01-09 12:29:02 +0100
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-01-09 16:31:57 +0000
commit4a443f73fd67ca8caaf0a3e1a01f8231b330d2e0 (patch)
treeb6bf83b76b0bbde6a4d9a7a8f3f9453ddcba8d3a /UefiPayloadPkg
parentae22b2f136bcbd27135a5f4dd76d3a68a172d00e (diff)
downloadedk2-4a443f73fd67ca8caaf0a3e1a01f8231b330d2e0.zip
edk2-4a443f73fd67ca8caaf0a3e1a01f8231b330d2e0.tar.gz
edk2-4a443f73fd67ca8caaf0a3e1a01f8231b330d2e0.tar.bz2
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')
0 files changed, 0 insertions, 0 deletions