xace: fix access mode in dixLookupWindow call within ProcUngrabKey.
Referencing a window (as grab-window) only requires GetAttr access. Signed-off-by: Eamon Walsh <ewalsh@tycho.nsa.gov>
This commit is contained in:
parent
6d2f4e4878
commit
d4b8f7602b
|
@ -5137,7 +5137,7 @@ ProcUngrabKey(ClientPtr client)
|
||||||
int rc;
|
int rc;
|
||||||
|
|
||||||
REQUEST_SIZE_MATCH(xUngrabKeyReq);
|
REQUEST_SIZE_MATCH(xUngrabKeyReq);
|
||||||
rc = dixLookupWindow(&pWin, stuff->grabWindow, client, DixReadAccess);
|
rc = dixLookupWindow(&pWin, stuff->grabWindow, client, DixGetAttrAccess);
|
||||||
if (rc != Success)
|
if (rc != Success)
|
||||||
return rc;
|
return rc;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue