mirror of
https://github.com/reactos/reactos.git
synced 2024-06-29 01:12:06 +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
|
@ -104,7 +104,7 @@ CreateWindowStationW(
|
||||||
lpwinsta ? &WindowStationName : NULL,
|
lpwinsta ? &WindowStationName : NULL,
|
||||||
OBJ_CASE_INSENSITIVE | OBJ_OPENIF,
|
OBJ_CASE_INSENSITIVE | OBJ_OPENIF,
|
||||||
hWindowStationsDir,
|
hWindowStationsDir,
|
||||||
NULL);
|
lpsa ? lpsa->lpSecurityDescriptor : NULL);
|
||||||
|
|
||||||
/* Check if the handle should be inheritable */
|
/* Check if the handle should be inheritable */
|
||||||
if (lpsa && lpsa->bInheritHandle)
|
if (lpsa && lpsa->bInheritHandle)
|
||||||
|
|
Loading…
Reference in a new issue