diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2011-12-18 16:09:01 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2011-12-18 16:09:01 +0000 |
commit | e0d1211591b1caeff41a5ba6567a052c2c634912 (patch) | |
tree | 89ddd2fb66727360ab2df03e397054d15501053e /xserver/Xi | |
parent | 47d9c1404905a4c2796c7fbd12a329751e2e3e97 (diff) |
Bugfix Update to xserver 1.11.3
Diffstat (limited to 'xserver/Xi')
-rw-r--r-- | xserver/Xi/extinit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xserver/Xi/extinit.c b/xserver/Xi/extinit.c index 0905e1877..0ce4e060b 100644 --- a/xserver/Xi/extinit.c +++ b/xserver/Xi/extinit.c @@ -409,7 +409,7 @@ static int ProcIDispatch(ClientPtr client) { REQUEST(xReq); - if (stuff->data > ARRAY_SIZE(ProcIVector) || !ProcIVector[stuff->data]) + if (stuff->data >= ARRAY_SIZE(ProcIVector) || !ProcIVector[stuff->data]) return BadRequest; return (*ProcIVector[stuff->data])(client); @@ -428,7 +428,7 @@ static int SProcIDispatch(ClientPtr client) { REQUEST(xReq); - if (stuff->data > ARRAY_SIZE(SProcIVector) || !SProcIVector[stuff->data]) + if (stuff->data >= ARRAY_SIZE(SProcIVector) || !SProcIVector[stuff->data]) return BadRequest; return (*SProcIVector[stuff->data])(client); |