advapi32: Initialize the LsaLookupSids() LSA_TRANSLATED_NAME.Name string properly.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=39129
Signed-off-by: Damjan Jovanovic <damjan.jov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Qian Hong 2019-08-02 06:29:16 +02:00 committed by Alexandre Julliard
parent 5373f7264c
commit 2e53f8bccb
1 changed files with 1 additions and 1 deletions

View File

@ -508,7 +508,7 @@ NTSTATUS WINAPI LsaLookupSids(
{
(*Names)[i].Use = SidTypeUnknown;
(*Names)[i].DomainIndex = -1;
(*Names)[i].Name.Buffer = NULL;
RtlInitUnicodeStringEx(&(*Names)[i].Name, NULL);
memset(&(*ReferencedDomains)->Domains[i], 0, sizeof(LSA_TRUST_INFORMATION));