ntdll: Fix SID data copy length.

This commit is contained in:
Nikolay Sivov 2011-10-10 12:07:30 -05:00 committed by Alexandre Julliard
parent b44eef7085
commit 7c648cb695

View file

@ -348,7 +348,7 @@ NTSTATUS WINAPI NtQueryInformationToken(
groups->GroupCount = tg->count;
memcpy( sids, (char *)buffer + non_sid_portion,
reply->user_len - non_sid_portion - FIELD_OFFSET( TOKEN_GROUPS, Groups[tg->count] ));
reply->user_len - FIELD_OFFSET( TOKEN_GROUPS, Groups[tg->count] ));
for (i = 0; i < tg->count; i++)
{