mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-05 01:48:02 +02:00
security: Fix for Bug #14480: untrusted access broken in 7.3.
This commit is contained in:
parent
bc72ef3a15
commit
74b40bba32
1 changed files with 1 additions and 1 deletions
|
|
@ -1014,7 +1014,7 @@ CALLBACK(SecurityCheckResourceIDAccess)
|
|||
}
|
||||
else /* server-owned resource - probably a default colormap or root window */
|
||||
{
|
||||
if (RT_WINDOW == rtype || RC_DRAWABLE == rtype)
|
||||
if (RC_DRAWABLE & rtype)
|
||||
{
|
||||
switch (reqtype)
|
||||
{ /* the following operations are allowed on root windows */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue