[NTOS:SE] Capture the groups length when creating a token

The groups length is already returned by SeCaptureSidAndAttributesArray, it doesn't make sense to not use it.
This commit is contained in:
George Bișoc 2021-05-16 17:18:29 +02:00
parent 90b3a9c09b
commit 99d776894a
No known key found for this signature in database
GPG key ID: 688C4FBE25D7DEF6

View file

@ -4197,7 +4197,7 @@ NtCreateToken(
CapturedUser,
GroupCount,
CapturedGroups,
0, // FIXME: Should capture
GroupsLength,
PrivilegeCount,
CapturedPrivileges,
CapturedOwnerSid,