mirror of https://github.com/acidanthera/audk.git
466f2f0c5f
If the SetVirtualAddressMap() is not called, mIsVirtualAddrConverted is FALSE and the kernel crash occurs in IsNestedFmpCapsule() when executing gBS->LocateProtocol () in the else case. To serve the omitted SetVirtualAddressMap() call, we could just check mEsrtTable presence instead of relying on mIsVirtualAddrConverted. Signed-off-by: Nhi Pham <nhi@os.amperecomputing.com> Reviewed-by: Ard Biesheuvel <ardb@kernel.org> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn> |
||
---|---|---|
.. | ||
CapsuleOnDisk.c | ||
CapsuleOnDisk.h | ||
DxeCapsuleLib.c | ||
DxeCapsuleLib.inf | ||
DxeCapsuleLib.uni | ||
DxeCapsuleProcessLib.c | ||
DxeCapsuleProcessLibNull.c | ||
DxeCapsuleReportLib.c | ||
DxeCapsuleReportLibNull.c | ||
DxeCapsuleRuntime.c | ||
DxeRuntimeCapsuleLib.inf | ||
DxeRuntimeCapsuleLib.uni |