Commit e52e4978 authored by Robert Shearman's avatar Robert Shearman Committed by Alexandre Julliard

ntdll: Fix size check for NtQueryInformationToken(TokenGroups).

For NtQueryInformationToken(TokenGroups), don't do a size check before the server call, as we don't know how many SIDs there are to return and hence the needed buffer size.
parent 17ec77f1
......@@ -202,9 +202,6 @@ NTSTATUS WINAPI NtQueryInformationToken(
switch (tokeninfoclass)
{
case TokenGroups:
len = sizeof(TOKEN_GROUPS);
break;
case TokenOwner:
len = sizeof(TOKEN_OWNER) + sizeof(SID);
break;
......
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