mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[USER32] Capture the security descriptor from the caller when creating a window station
When creating a window station with CreateWindowStationW, the function ignores the security descriptor provided by the caller and instead it uses whatever descriptor the system can find.
This commit is contained in:
parent
878c2f4444
commit
65a72fb527
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ CreateWindowStationW(
|
|||
lpwinsta ? &WindowStationName : NULL,
|
||||
OBJ_CASE_INSENSITIVE | OBJ_OPENIF,
|
||||
hWindowStationsDir,
|
||||
NULL);
|
||||
lpsa ? lpsa->lpSecurityDescriptor : NULL);
|
||||
|
||||
/* Check if the handle should be inheritable */
|
||||
if (lpsa && lpsa->bInheritHandle)
|
||||
|
|
Loading…
Reference in a new issue