mirror of
https://github.com/reactos/reactos.git
synced 2024-09-10 04:42:00 +00:00
[WIN32K]
- Do not use an uninitialized variable in UserSetProcessWindowStation. Feel free to fix this properly svn path=/trunk/; revision=66188
This commit is contained in:
parent
16c8f0601d
commit
008adec92d
|
@ -933,7 +933,7 @@ UserSetProcessWindowStation(HWINSTA hWindowStation)
|
|||
|
||||
ppi->prpwinsta = NewWinSta;
|
||||
ppi->hwinsta = hWindowStation;
|
||||
ppi->amwinsta = ObjectHandleInfo.GrantedAccess;
|
||||
ppi->amwinsta = hWindowStation != NULL ? ObjectHandleInfo.GrantedAccess : 0;
|
||||
ERR("WS : Granted Access %p\n",ppi->amwinsta);
|
||||
|
||||
if (RtlAreAllAccessesGranted(ppi->amwinsta, WINSTA_READSCREEN))
|
||||
|
|
Loading…
Reference in a new issue