crypt32: Set size when calling CryptDecodeObjectEx without CRYPT_DECODE_ALLOC_FLAG set.

This commit is contained in:
Juan Lang 2007-11-01 07:57:09 -07:00 committed by Alexandre Julliard
parent 9c672fea41
commit 4690a9c800
1 changed files with 1 additions and 1 deletions

View File

@ -251,7 +251,7 @@ static BOOL WINAPI CertContext_GetProperty(void *context, DWORD dwPropId,
if (ext)
{
CRYPT_DATA_BLOB value;
DWORD size;
DWORD size = sizeof(value);
ret = CryptDecodeObjectEx(X509_ASN_ENCODING,
szOID_SUBJECT_KEY_IDENTIFIER, ext->Value.pbData,