mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-20 12:50:04 +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
|
||
|---|---|---|
| .. | ||
| bsd | ||
| bus | ||
| hurd | ||
| linux | ||
| misc | ||
| shared | ||
| solaris | ||
| stub | ||
| int10Defines.h | ||
| Makefile.am | ||
| xf86_OSlib.h | ||
| xf86_OSproc.h | ||
| xf86OSpriv.h | ||