mirror of
https://git.proxmox.com/git/mirror_edk2
synced 2025-10-27 02:14:01 +00:00
When setting mVirtualMap to NULL also set mVirtualMapMaxIndex to 0. Without that RuntimeDriverConvertPointer() will go search the ZeroPage for EFI_MEMORY_DESCRIPTOR entries. In case mVirtualMapMaxIndex happens to be small small enough that'll go unnoticed, the search will not find anything and EFI_NOT_FOUND will be returned. In case mVirtualMapMaxIndex is big enough the search will reach the end of the ZeroPage and trigger a page fault. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn> |
||
|---|---|---|
| .. | ||
| Crc32.c | ||
| Runtime.c | ||
| Runtime.h | ||
| RuntimeDxe.inf | ||
| RuntimeDxe.uni | ||
| RuntimeDxeExtra.uni | ||