mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00: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:
parent
0ef734dba4
commit
986bf4c407
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue