mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[NTOS:SE] Assign the control flag bits to the newly created security descriptor
We allocate memory pool for a new security descriptor with specific info filled by the caller but we don't set the control flag bits for the newly allocated descriptor, which is wrong. Originally spotted by Vadim Galyant. CORE-17650
This commit is contained in:
parent
bf05fcbd29
commit
c869c4778d
1 changed files with 1 additions and 0 deletions
|
@ -962,6 +962,7 @@ SeSetSecurityDescriptorInfoEx(
|
|||
Current += SaclLength;
|
||||
}
|
||||
|
||||
NewSd->Control |= Control;
|
||||
*ObjectsSecurityDescriptor = NewSd;
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue