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:
Robert Shearman 2006-05-03 14:46:17 +01:00 committed by Alexandre Julliard
parent 17ec77f19e
commit e52e4978b2
1 changed files with 0 additions and 3 deletions

View File

@ -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;