mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
advapi32: Fix sid pointer calculation in LsaLookupNames2.
This commit is contained in:
parent
a104766b07
commit
4f71d33dfa
1 changed files with 1 additions and 1 deletions
|
@ -350,7 +350,7 @@ NTSTATUS WINAPI LsaLookupNames2( LSA_HANDLE policy, ULONG flags, ULONG count,
|
|||
size = sizeof(LSA_TRANSLATED_SID2) * count + sid_size_total;
|
||||
if (!(*sids = HeapAlloc( GetProcessHeap(), 0, size) )) return STATUS_NO_MEMORY;
|
||||
|
||||
sid = (SID *)*sids + sizeof(LSA_TRANSLATED_SID2) * mapped;
|
||||
sid = (SID *)(*sids + count);
|
||||
|
||||
if (!(*domains = HeapAlloc( GetProcessHeap(), 0, sizeof(LSA_REFERENCED_DOMAIN_LIST) )))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue