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.
This commit is contained in:
parent
17ec77f19e
commit
e52e4978b2
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue