From 538d1bbb8ba6416c6986d9b298bedee267fe550b Mon Sep 17 00:00:00 2001 From: Mikhail Krichanov Date: Mon, 27 May 2024 13:16:48 +0300 Subject: [PATCH] SysCall: Fixed uninitialized variable. --- MdeModulePkg/Core/Dxe/SysCall/BootServices.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MdeModulePkg/Core/Dxe/SysCall/BootServices.c b/MdeModulePkg/Core/Dxe/SysCall/BootServices.c index 7a00ec8dea..95364f0e08 100644 --- a/MdeModulePkg/Core/Dxe/SysCall/BootServices.c +++ b/MdeModulePkg/Core/Dxe/SysCall/BootServices.c @@ -90,6 +90,7 @@ FindGuid ( OUT UINT32 *CoreSize ) { + ASSERT (Ring3 != NULL); ASSERT (Core != NULL); ASSERT (CoreSize != NULL); @@ -306,6 +307,7 @@ CallBootService ( Argument4 = 0; Argument5 = 0; Argument6 = 0; + Interface = NULL; // // Check User variables. //