secur32: Fix conversion of password in NTLM AcquireCredentialsHandleA.

This commit is contained in:
Kai Blin 2005-12-09 14:52:20 +01:00 committed by Alexandre Julliard
parent 03b040c51d
commit 3ba73f0ff6

View File

@ -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
{