mirror of
https://github.com/ladislav-zezula/StormLib.git
synced 2026-01-29 02:31:35 +01:00
+ md5 initialization for error cases
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user