mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 03:46:38 +00:00
- Impersonation level should be indeed higher that the lowest one. Fix the check accordingly. Spotted by Dmitry Gorbachev and GCC.
See issue #3939 for more details. svn path=/trunk/; revision=37998
This commit is contained in:
parent
28cddcaf8e
commit
2794dbc70a
1 changed files with 1 additions and 1 deletions
|
@ -667,7 +667,7 @@ NtAccessCheck(IN PSECURITY_DESCRIPTOR SecurityDescriptor,
|
|||
}
|
||||
|
||||
/* Check impersonation level */
|
||||
if (Token->ImpersonationLevel < SecurityAnonymous)
|
||||
if (Token->ImpersonationLevel < SecurityIdentification)
|
||||
{
|
||||
DPRINT1("Invalid impersonation level\n");
|
||||
ObDereferenceObject(Token);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue