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:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user