mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-03 11:40:15 +01:00
Correct access mode in call to dixLookupWindow() within RRSelectInput.
Reported by Alan Coopersmith.
(cherry picked from commit 6544490700)
This commit is contained in:
parent
38b0f9edca
commit
b7dc7374bb
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue