mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
Correct access mode in call to dixLookupWindow() within RRSelectInput.
Reported by Alan Coopersmith.
This commit is contained in:
@@ -76,7 +76,7 @@ ProcRRSelectInput (ClientPtr client)
|
||||
int rc;
|
||||
|
||||
REQUEST_SIZE_MATCH(xRRSelectInputReq);
|
||||
rc = dixLookupWindow(&pWin, stuff->window, client, DixWriteAccess);
|
||||
rc = dixLookupWindow(&pWin, stuff->window, client, DixReceiveAccess);
|
||||
if (rc != Success)
|
||||
return rc;
|
||||
pHead = (RREventPtr *)SecurityLookupIDByType(client,
|
||||
|
||||
Reference in New Issue
Block a user