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>
This commit is contained in:
parent
5d3a788aeb
commit
a0ece23a8b
|
@ -201,6 +201,7 @@ SProcXFixesSelectSelectionInput(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXFixesSelectSelectionInputReq);
|
REQUEST(xXFixesSelectSelectionInputReq);
|
||||||
|
|
||||||
|
REQUEST_SIZE_MATCH(xXFixesSelectSelectionInputReq);
|
||||||
swaps(&stuff->length);
|
swaps(&stuff->length);
|
||||||
swapl(&stuff->window);
|
swapl(&stuff->window);
|
||||||
swapl(&stuff->selection);
|
swapl(&stuff->selection);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user