Correct access mode in call to dixLookupWindow() within RRSelectInput.
Reported by Alan Coopersmith.
This commit is contained in:
parent
f8dd80d13b
commit
6544490700
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue
Block a user