mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-20 16:20:03 +01:00
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
|
||
|---|---|---|
| .. | ||
| agp_noop.c | ||
| bios_mmap.c | ||
| ioperm_noop.c | ||
| kmod_noop.c | ||
| platform_noop.c | ||
| pm_noop.c | ||
| posix_tty.c | ||
| sigio.c | ||
| sigiostubs.c | ||
| vidmem.c | ||
| VTsw_noop.c | ||
| VTsw_usl.c | ||
| xf86Axp.c | ||
| xf86Axp.h | ||