diff options
author | ydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-11-21 07:42:53 +0000 |
---|---|---|
committer | ydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-11-21 07:42:53 +0000 |
commit | ea71453f72e9a1990aaf7af76689a3f69c7b603f (patch) | |
tree | 40591fd84fc0f1162525a74ff7d1ada57a34c945 /SecurityPkg/VariableAuthenticated/SecureBootConfigDxe | |
parent | 787b2f1be102d9540f2fb2407137912f77c7971f (diff) | |
download | edk2-ea71453f72e9a1990aaf7af76689a3f69c7b603f.zip edk2-ea71453f72e9a1990aaf7af76689a3f69c7b603f.tar.gz edk2-ea71453f72e9a1990aaf7af76689a3f69c7b603f.tar.bz2 |
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
Diffstat (limited to 'SecurityPkg/VariableAuthenticated/SecureBootConfigDxe')
-rw-r--r-- | SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.c b/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.c index 73d75d1..1d6d7aa 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;
|