Commit ddd84f4f authored by Robert Shearman's avatar Robert Shearman Committed by Alexandre Julliard

advapi32: Nul-terminate the domain string in LookupAccountNameW.

parent b5f7e818
......@@ -1857,7 +1857,7 @@ BOOL WINAPI LookupAccountNameW( LPCWSTR lpSystemName, LPCWSTR lpAccountName, PSI
SID_IDENTIFIER_AUTHORITY identifierAuthority = {SECURITY_NT_AUTHORITY};
BOOL ret;
PSID pSid;
static const WCHAR dm[] = {'D','O','M','A','I','N'};
static const WCHAR dm[] = {'D','O','M','A','I','N',0};
FIXME("%s %s %p %p %p %p %p - stub\n", debugstr_w(lpSystemName), debugstr_w(lpAccountName),
Sid, cbSid, ReferencedDomainName, cchReferencedDomainName, peUse);
......
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