summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library/DisplayUpdateProgressLibGraphics/DisplayUpdateProgressLibGraphics.uni
diff options
context:
space:
mode:
authorDeepakX Singh <deepakx.singh@intel.com>2025-06-04 10:24:58 +0300
committerLiming Gao <gaoliming@byosoft.com.cn>2025-06-09 09:38:29 +0300
commitc87ea4751991ecb107d72437f45b70e25734c927 (patch)
tree4e5d5529a9c9859dceea349415b150b3e6eec3a7 /MdeModulePkg/Library/DisplayUpdateProgressLibGraphics/DisplayUpdateProgressLibGraphics.uni
parentdfc8e90fdb5739ca7fa5a3dd3cbd4b74f80b9f73 (diff)
downloadedk2-c87ea4751991ecb107d72437f45b70e25734c927.tar.xz
MdeModulePkg/HiiDatabaseDxe: Fix NULL Pointer access from EfiVarStore
Issue : When user access "Boot Maintenance Manager Menu/Secure Boot Configuration Menu" with PcdNullPointerDetectionPropertyMask|0x03 and PcdHeapGuardPageType|0x7FFF protection policy set, we get X64 Exception Type - 0E(#PF - Page-Fault) Root cause : When user access "Boot Maintenance Manager Menu/Secure Boot Configuration Menu", BIOS calls FindQuestionDefaultSetting function and send EFI VarStore header pointer to AuthFindVariableData function. When header pointer is NULL, it send NULL pointer to AuthFindVariableData function and causes the page fault. Fix : Database.c: In function FindQuestionDefaultSetting, added NULL pointers check, so that when EFI VarStore header argument is passed to AuthFindVariableData function, NULL pointer access will not happen. Test: Cross verified while accessing the "Boot Maintenance Manager Menu/ Secure Boot Configuration Menu" page. Signed-off-by: DeepakX Singh <deepakx.singh@intel.com>
Diffstat (limited to 'MdeModulePkg/Library/DisplayUpdateProgressLibGraphics/DisplayUpdateProgressLibGraphics.uni')
0 files changed, 0 insertions, 0 deletions