diff options
-rw-r--r-- | Xi/xiproperty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Xi/xiproperty.c b/Xi/xiproperty.c index 26af3fc00..04b2c8112 100644 --- a/Xi/xiproperty.c +++ b/Xi/xiproperty.c @@ -650,7 +650,7 @@ ProcXChangeDeviceProperty (ClientPtr client) return BadValue; } len = stuff->nUnits; - if (len > ((0xffffffff - sizeof(xChangePropertyReq)) >> 2)) + if (len > ((0xffffffff - sizeof(xChangeDevicePropertyReq)) >> 2)) return BadLength; sizeInBytes = format>>3; totalSize = len * sizeInBytes; |