summaryrefslogtreecommitdiff
path: root/xfixes
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2014-01-26 20:02:20 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2014-12-08 18:09:48 -0800
commita0ece23a8bd300c8be10812d368dc8058c97c63e (patch)
treeb73ca149e5e45292290779232d8a42a617a54ded /xfixes
parent5d3a788aeb2fbd3ca2812747dc18c94a8b981c63 (diff)
xfixes: unvalidated length in SProcXFixesSelectSelectionInput [CVE-2014-8102]
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'xfixes')
-rw-r--r--xfixes/select.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xfixes/select.c b/xfixes/select.c
index c088ed3de..e964d588c 100644
--- a/xfixes/select.c
+++ b/xfixes/select.c
@@ -201,6 +201,7 @@ SProcXFixesSelectSelectionInput(ClientPtr client)
{
REQUEST(xXFixesSelectSelectionInputReq);
+ REQUEST_SIZE_MATCH(xXFixesSelectSelectionInputReq);
swaps(&stuff->length);
swapl(&stuff->window);
swapl(&stuff->selection);