Commit 3ba73f0f authored by Kai Blin's avatar Kai Blin Committed by Alexandre Julliard

secur32: Fix conversion of password in NTLM AcquireCredentialsHandleA.

parent 03b040c5
......@@ -353,7 +353,7 @@ static SECURITY_STATUS SEC_ENTRY ntlm_AcquireCredentialsHandleA(
passwd = HeapAlloc(GetProcessHeap(), 0, passwd_sizeW
* sizeof(SEC_WCHAR));
MultiByteToWideChar(CP_ACP, 0, (LPCSTR)identity->Password,
identity->PasswordLength, passwd, passwd_sizeW);
identity->PasswordLength+1, passwd, passwd_sizeW);
}
else
{
......
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