1 From c0308b700e3e0f0b6b1dc350e822b6218d080f1a Mon Sep 17 00:00:00 2001
2 From: Alan Coopersmith <alan.coopersmith@oracle.com>
3 Date: Sun, 26 Jan 2014 20:02:20 -0800
4 Subject: [PATCH 16/33] xfixes: unvalidated length in
5 SProcXFixesSelectSelectionInput [CVE-2014-8102]
7 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
8 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
11 1 file changed, 1 insertion(+)
13 diff --git a/xfixes/select.c b/xfixes/select.c
14 index c088ed3..e964d58 100644
17 @@ -201,6 +201,7 @@ SProcXFixesSelectSelectionInput(ClientPtr client)
19 REQUEST(xXFixesSelectSelectionInputReq);
21 + REQUEST_SIZE_MATCH(xXFixesSelectSelectionInputReq);
22 swaps(&stuff->length);
23 swapl(&stuff->window);
24 swapl(&stuff->selection);