Commit 9990bde9 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

crypt32: Change salt allocation to handle errors (Coverity 133).

parent 256d3a2e
......@@ -616,11 +616,9 @@ BOOL fill_protect_data(struct protect_data_t * pInfo, LPCWSTR szDataDescr,
return FALSE;
}
pInfo->salt.cbData=CRYPT32_PROTECTDATA_SALT_LEN;
/* debug: show our salt */
TRACE_DATA_BLOB(&pInfo->salt);
}
/* debug: show our salt */
TRACE_DATA_BLOB(&pInfo->salt);
pInfo->cipher.cbData=0;
pInfo->cipher.pbData=NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment