summaryrefslogtreecommitdiff
path: root/EmbeddedPkg
diff options
context:
space:
mode:
authoroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>2011-12-29 12:15:08 +0000
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>2011-12-29 12:15:08 +0000
commite7b872fd02440ce523a3393c3011d56b50706d2c (patch)
treea721cdab5e2197db29f30370e20baa83c9df1cd8 /EmbeddedPkg
parentc8641de387850f5a0c0666b51efaa495bc3a277d (diff)
downloadedk2-platforms-e7b872fd02440ce523a3393c3011d56b50706d2c.tar.xz
EmbeddedPkg/PrePiLib: Ensure FvImageInfo has been initialized to zero
Signed-off-by: lgao4 Reviewed-by: oliviermartin git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12900 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EmbeddedPkg')
-rw-r--r--EmbeddedPkg/Library/PrePiLib/FwVol.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/EmbeddedPkg/Library/PrePiLib/FwVol.c b/EmbeddedPkg/Library/PrePiLib/FwVol.c
index 92be836e31..75d28a7257 100644
--- a/EmbeddedPkg/Library/PrePiLib/FwVol.c
+++ b/EmbeddedPkg/Library/PrePiLib/FwVol.c
@@ -792,6 +792,7 @@ FfsProcessFvFile (
//
// Collect FvImage Info.
//
+ ZeroMem (&FvImageInfo, sizeof (FvImageInfo));
Status = FfsGetVolumeInfo (FvImageHandle, &FvImageInfo);
ASSERT_EFI_ERROR (Status);