]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.c
MdeModulePkg/Variable: Initialize local variable "RtPtrTrack"
[mirror_edk2.git] / MdeModulePkg / Universal / Variable / RuntimeDxe / VariableSmmRuntimeDxe.c
index d525998ae301a05c43e3eb34b9d6e1a2a977fd5b..2cf0ed32ae55bea2094e7bb578a60810c242dbc1 100644 (file)
@@ -590,6 +590,8 @@ FindVariableInRuntimeCache (
     return EFI_INVALID_PARAMETER;\r
   }\r
 \r
+  ZeroMem (&RtPtrTrack, sizeof (RtPtrTrack));\r
+\r
   //\r
   // The UEFI specification restricts Runtime Services callers from invoking the same or certain other Runtime Service\r
   // functions prior to completion and return from a previous Runtime Service call. These restrictions prevent\r