From ea71453f72e9a1990aaf7af76689a3f69c7b603f Mon Sep 17 00:00:00 2001 From: ydong10 Date: Mon, 21 Nov 2011 07:42:53 +0000 Subject: Initialize the variable before use it to avoid SCT test failed. Signed-off-by: ydong10 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12744 6f19259b-4bc3-4df7-8a09-765794883524 --- .../VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.c b/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.c index 73d75d1f19..1d6d7aa2ce 100644 --- a/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.c +++ b/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.c @@ -131,6 +131,7 @@ SecureBootExtractConfig ( ConfigRequest = NULL; Size = 0; + ZeroMem (&Configuration, sizeof (Configuration)); PrivateData = SECUREBOOT_CONFIG_PRIVATE_FROM_THIS (This); *Progress = Request; -- cgit v1.2.3