Files
pkgsrc-ng/x11/modular-xorg-server112/patches/patch-Xi_xiquerydevice.c
2016-01-21 23:41:46 +01:00

16 lines
450 B
C

$NetBSD: patch-Xi_xiquerydevice.c,v 1.1 2015/04/03 09:46:18 tnn Exp $
X.Org Security Advisory: Dec. 9, 2014
Protocol handling issues in X Window System servers
--- Xi/xiquerydevice.c.orig 2012-07-24 04:36:54.000000000 +0000
+++ Xi/xiquerydevice.c
@@ -54,6 +54,7 @@ int
SProcXIQueryDevice(ClientPtr client)
{
REQUEST(xXIQueryDeviceReq);
+ REQUEST_SIZE_MATCH(xXIQueryDeviceReq);
swaps(&stuff->length);
swaps(&stuff->deviceid);