xserver/hw
Dave Airlie 8039b6b7a3 xf86: fix flush input to work with Linux evdev devices.
So when we VT switch back and attempt to flush the input devices,
we don't succeed because evdev won't return part of an event,
since we were only asking for 4 bytes, we'd only get -EINVAL back.

This could later cause events to be flushed that we shouldn't have
gotten.

This is a fix for CVE-2013-1940.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 6ca03b9161)
2013-04-17 15:46:03 +10:00
..
dmx dmx: don't include dmx-config.h from xdmxconfig (#37502) 2013-02-18 12:09:23 +10:00
kdrive ephyr: Fix crash on 24bpp host framebuffer 2013-04-02 15:37:14 +10:00
vfb vfb: Initialize the GLX extension again. 2012-12-23 15:22:25 -07:00
xfree86 xf86: fix flush input to work with Linux evdev devices. 2013-04-17 15:46:03 +10:00
xnest Replace NO_HW_ONLY_EXTS with Xorg DDX test 2012-07-10 00:31:02 -07:00
xquartz XQuartz: Ensure <dix-config.h> is included in capabilities.c 2013-02-15 23:31:26 -07:00
xwin Fix 'make distcheck' for hw/xwin 2012-10-16 15:14:55 +01:00
Makefile.am Catch errors in recursive relink targets 2010-03-22 00:45:57 -05:00