mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-26 19:33:31 +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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user