summaryrefslogtreecommitdiff
path: root/OvmfPkg/QemuVideoDxe/VbeShim.c
diff options
context:
space:
mode:
authorNhi Pham <nhi@os.amperecomputing.com>2024-05-29 09:46:25 +0700
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-06-07 15:20:42 +0000
commitc36414b131dfd0a1ca51f10f87a18955bc110ff2 (patch)
treebcadafc509e0ce254b98d024637eb4bfe23fe90c /OvmfPkg/QemuVideoDxe/VbeShim.c
parent948f23417010309a5557d46195eae258f6105025 (diff)
downloadedk2-c36414b131dfd0a1ca51f10f87a18955bc110ff2.zip
edk2-c36414b131dfd0a1ca51f10f87a18955bc110ff2.tar.gz
edk2-c36414b131dfd0a1ca51f10f87a18955bc110ff2.tar.bz2
MdeModulePkg/DxeCapsuleLibFmp: Fix crash if no ESRT is found
The ESRT table is not required in UEFI firmware. In such cases, the table may not be present in the UEFI Configuration Table. The mEsrtTable is to check if the IsNestedFmpCapsule() function is invoked at runtime to determine whether to use gEsrtManagementProtocolGuid or the ESRT table from the Configuration Table. Unfortunately, the check does not cover situations where the ESRT is not present, potentially resulting in a kernel crash. This patch is intended to fix this issue. Signed-off-by: Nhi Pham <nhi@os.amperecomputing.com>
Diffstat (limited to 'OvmfPkg/QemuVideoDxe/VbeShim.c')
0 files changed, 0 insertions, 0 deletions