security: Fix for Bug #14480: untrusted access broken in 7.3.

This commit is contained in:
Eamon Walsh 2008-02-14 19:47:44 -05:00 committed by Eamon Walsh
parent bc72ef3a15
commit 74b40bba32

View File

@ -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 */