Commit e8859699 authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

advapi32: Fix incorrect pointer increment.

parent 666c40f3
...@@ -414,7 +414,7 @@ NTSTATUS WINAPI LsaLookupNames2( LSA_HANDLE policy, ULONG flags, ULONG count, ...@@ -414,7 +414,7 @@ NTSTATUS WINAPI LsaLookupNames2( LSA_HANDLE policy, ULONG flags, ULONG count,
(*sids)[i].Sid = sid; (*sids)[i].Sid = sid;
(*sids)[i].Use = use; (*sids)[i].Use = use;
sid += sid_size; sid = (SID *)((char *)sid + sid_size);
sid_size_total -= sid_size; sid_size_total -= sid_size;
if (domain_size) if (domain_size)
{ {
......
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