Huw Davies : crypt32: Initialize the size to zero.
Alexandre Julliard
julliard at winehq.org
Thu Aug 21 10:02:16 CDT 2008
Module: wine
Branch: master
Commit: b77ba1babf147d50c7b50f064838e4a70032ad01
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b77ba1babf147d50c7b50f064838e4a70032ad01
Author: Huw Davies <huw at codeweavers.com>
Date: Wed Aug 20 14:32:09 2008 +0100
crypt32: Initialize the size to zero.
---
dlls/crypt32/serialize.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/crypt32/serialize.c b/dlls/crypt32/serialize.c
index f55302d..32a9ca0 100644
--- a/dlls/crypt32/serialize.c
+++ b/dlls/crypt32/serialize.c
@@ -798,7 +798,7 @@ static BOOL CRYPT_SaveSerializedToMem(HCERTSTORE store,
DWORD dwMsgAndCertEncodingType, void *handle)
{
CERT_BLOB *blob = (CERT_BLOB *)handle;
- DWORD size;
+ DWORD size = 0;
BOOL ret;
ret = CRYPT_WriteSerializedStoreToStream(store, CRYPT_CountSerializedBytes,
More information about the wine-cvs
mailing list