diff options
Diffstat (limited to 'main/xorg-server/CVE-2013-1940.patch')
-rw-r--r-- | main/xorg-server/CVE-2013-1940.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/main/xorg-server/CVE-2013-1940.patch b/main/xorg-server/CVE-2013-1940.patch new file mode 100644 index 0000000000..a36c7407c8 --- /dev/null +++ b/main/xorg-server/CVE-2013-1940.patch @@ -0,0 +1,12 @@ +--- ./hw/xfree86/os-support/shared/posix_tty.c.orig ++++ ./hw/xfree86/os-support/shared/posix_tty.c +@@ -460,7 +460,8 @@ + { + fd_set fds; + struct timeval timeout; +- char c[4]; ++ /* this needs to be big enough to flush an evdev event. */ ++ char c[256]; + + DebugF("FlushingSerial\n"); + if (tcflush(fd, TCIFLUSH) == 0) |