Commit 2e53f8bc authored by Qian Hong's avatar Qian Hong Committed by Alexandre Julliard

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

parent 5373f726
......@@ -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));
......
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