From e7b872fd02440ce523a3393c3011d56b50706d2c Mon Sep 17 00:00:00 2001 From: oliviermartin Date: Thu, 29 Dec 2011 12:15:08 +0000 Subject: [PATCH] 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 --- EmbeddedPkg/Library/PrePiLib/FwVol.c | 1 + 1 file changed, 1 insertion(+) 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); -- 2.39.2