]> git.proxmox.com Git - mirror_edk2.git/blobdiff - SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.c
Initialize the variable before use it to avoid SCT test failed.
[mirror_edk2.git] / SecurityPkg / VariableAuthenticated / SecureBootConfigDxe / SecureBootConfigImpl.c
index 73d75d1f190b4155b841d6b37663c09f9bb59ffc..1d6d7aa2ce93cc93fc6851314e889708b98ab283 100644 (file)
@@ -131,6 +131,7 @@ SecureBootExtractConfig (
   ConfigRequest    = NULL;\r
   Size             = 0;\r
   \r
+  ZeroMem (&Configuration, sizeof (Configuration));\r
   PrivateData      = SECUREBOOT_CONFIG_PRIVATE_FROM_THIS (This);\r
   *Progress        = Request;\r
   \r