Blame SOURCES/0016-xfixes-unvalidated-length-in-SProcXFixesSelectSelect.patch

0fd959
From 9994f0703ab49802e956f0ccae1ddb50143b6bad Mon Sep 17 00:00:00 2001
0fd959
From: Alan Coopersmith <alan.coopersmith@oracle.com>
0fd959
Date: Sun, 26 Jan 2014 20:02:20 -0800
0fd959
Subject: [PATCH 16/33] xfixes: unvalidated length in
0fd959
 SProcXFixesSelectSelectionInput [CVE-2014-8102]
0fd959
0fd959
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
0fd959
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
0fd959
Signed-off-by: Fedora X Ninjas <x@fedoraproject.org>
0fd959
---
0fd959
 xfixes/select.c | 1 +
0fd959
 1 file changed, 1 insertion(+)
0fd959
0fd959
diff --git a/xfixes/select.c b/xfixes/select.c
0fd959
index ee8ed6f..c5a68ca 100644
0fd959
--- a/xfixes/select.c
0fd959
+++ b/xfixes/select.c
0fd959
@@ -201,6 +201,7 @@ SProcXFixesSelectSelectionInput(ClientPtr client)
0fd959
 {
0fd959
     REQUEST(xXFixesSelectSelectionInputReq);
0fd959
 
0fd959
+    REQUEST_SIZE_MATCH(xXFixesSelectSelectionInputReq);
0fd959
     swaps(&stuff->length);
0fd959
     swapl(&stuff->window);
0fd959
     swapl(&stuff->selection);
0fd959
-- 
0fd959
1.9.3
0fd959