From 807e8fa56680607bb4cfc61a3ab02a7b0fef5450 Mon Sep 17 00:00:00 2001 From: matthieu Date: Wed, 20 Feb 2008 21:29:42 +0000 Subject: [PATCH] Fix from X.Org repository: untrusted access broken in 7.3. --- xserver/Xext/security.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xserver/Xext/security.c b/xserver/Xext/security.c index e9d48c94d..14ad354cf 100644 --- a/xserver/Xext/security.c +++ b/xserver/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 */