summaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
Diffstat (limited to 'Tools')
-rw-r--r--Tools/Source/TianoTools/GenDepex/GenDepex.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tools/Source/TianoTools/GenDepex/GenDepex.c b/Tools/Source/TianoTools/GenDepex/GenDepex.c
index 3adde2c1fc..3818649330 100644
--- a/Tools/Source/TianoTools/GenDepex/GenDepex.c
+++ b/Tools/Source/TianoTools/GenDepex/GenDepex.c
@@ -374,6 +374,7 @@ Returns:
return EFI_ABORTED;
}
+ memset (Buffer, 0, FileSize + BUFFER_SIZE);
fread (Buffer, FileSize, 1, InFile);
Ptrx = Buffer;