summaryrefslogtreecommitdiff
path: root/src/SFileVerify.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/SFileVerify.cpp')
-rw-r--r--src/SFileVerify.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/SFileVerify.cpp b/src/SFileVerify.cpp
index 1354bfc..4509388 100644
--- a/src/SFileVerify.cpp
+++ b/src/SFileVerify.cpp
@@ -638,6 +638,9 @@ static DWORD VerifyFile(
// automatically check the patched version of the file
//
+ // Make sure the md5 is initialized
+ memset(md5, 0, sizeof(md5));
+
// If we have to verify raw data MD5, do it before file open
if(dwFlags & SFILE_VERIFY_RAW_MD5)
{