Robert Shearman : advapi32: Nul-terminate the domain string in LookupAccountNameW.
Module: wine Branch: refs/heads/master Commit: ddd84f4f281df2805d62cd0e3ba8ee506c12c77c URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=ddd84f4f281df2805d62cd0e... Author: Robert Shearman <rob(a)codeweavers.com> Date: Mon Jun 12 16:36:54 2006 +0100 advapi32: Nul-terminate the domain string in LookupAccountNameW. --- dlls/advapi32/security.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/advapi32/security.c b/dlls/advapi32/security.c index 2630606..96a93b8 100644 --- a/dlls/advapi32/security.c +++ b/dlls/advapi32/security.c @@ -1857,7 +1857,7 @@ BOOL WINAPI LookupAccountNameW( LPCWSTR 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);
participants (1)
-
Alexandre Julliard