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:
parent
5373f7264c
commit
2e53f8bccb
|
@ -508,7 +508,7 @@ NTSTATUS WINAPI LsaLookupSids(
|
||||||
{
|
{
|
||||||
(*Names)[i].Use = SidTypeUnknown;
|
(*Names)[i].Use = SidTypeUnknown;
|
||||||
(*Names)[i].DomainIndex = -1;
|
(*Names)[i].DomainIndex = -1;
|
||||||
(*Names)[i].Name.Buffer = NULL;
|
RtlInitUnicodeStringEx(&(*Names)[i].Name, NULL);
|
||||||
|
|
||||||
memset(&(*ReferencedDomains)->Domains[i], 0, sizeof(LSA_TRUST_INFORMATION));
|
memset(&(*ReferencedDomains)->Domains[i], 0, sizeof(LSA_TRUST_INFORMATION));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue