From 6e1b78e41d142120678876ec1613a543eed6319a Mon Sep 17 00:00:00 2001 From: matthieu Date: Sun, 27 Mar 2011 19:51:09 +0000 Subject: [PATCH] Give XI2 requests a chance if server and client endianess differ. There are more bugs in this code though. --- xserver/Xi/extinit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xserver/Xi/extinit.c b/xserver/Xi/extinit.c index fb8ad19ba..6b885d138 100644 --- a/xserver/Xi/extinit.c +++ b/xserver/Xi/extinit.c @@ -429,7 +429,7 @@ static int SProcIDispatch(ClientPtr client) { REQUEST(xReq); - if (stuff->data > IREQUESTS || !SProcIVector[stuff->data]) + if (stuff->data > (IREQUESTS + XI2REQUESTS) || !SProcIVector[stuff->data]) return BadRequest; return (*SProcIVector[stuff->data])(client);