mirror of
https://github.com/reactos/reactos.git
synced 2026-06-05 11:12:56 +08:00
[NTOS:SE] In SepCreateClientSecurity(), fix the impersonation level value passed to the SeCopyClientToken() call.
Caught while debugging, in the case the ImpersonationLevel value was uninitialized, due to the fact it was left untouched on purpose by PsReferenceEffectiveToken().
This commit is contained in:
@@ -225,8 +225,8 @@ SepCreateClientSecurity(IN PACCESS_TOKEN Token,
|
||||
/* Do not use direct access and make a copy */
|
||||
ClientContext->DirectlyAccessClientToken = FALSE;
|
||||
Status = SeCopyClientToken(Token,
|
||||
ImpersonationLevel,
|
||||
0,
|
||||
ClientSecurityQos->ImpersonationLevel,
|
||||
KernelMode,
|
||||
&NewToken);
|
||||
if (!NT_SUCCESS(Status))
|
||||
return Status;
|
||||
|
||||
Reference in New Issue
Block a user