summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEamon Walsh <ewalsh@tycho.nsa.gov>2008-02-14 19:47:44 -0500
committerEamon Walsh <ewalsh@moss-charon.epoch.ncsc.mil>2008-02-14 19:47:44 -0500
commit74b40bba327a2e97780e8e3f995f784add2d6231 (patch)
tree8cdb978197b512257b6d6162f89056a4d5ba5749
parentbc72ef3a159efd67067322c043bba444869dc356 (diff)
security: Fix for Bug #14480: untrusted access broken in 7.3.
-rw-r--r--Xext/security.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xext/security.c b/Xext/security.c
index e9d48c94d..14ad354cf 100644
--- a/Xext/security.c
+++ b/Xext/security.c
@@ -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 */