mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-19 16:40:46 -09:00
Fixes
xfixes: unvalidated lengths (CVE-2017-12183)
Xi: fix wrong extra length check in ProcXIChangeHierarchy
(CVE-2017-12178)
dbe: Unvalidated variable-length request in ProcDbeGetVisualInfo
(CVE-2017-12177)
Unvalidated extra length in ProcEstablishConnection (CVE-2017-12176)
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
(cherry picked from commit e7713abf89)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
20 lines
794 B
Diff
20 lines
794 B
Diff
Kernel modesettings support also depends on dri2, see
|
|
http://cgit.freedesktop.org/xorg/xserver/tree/hw/xfree86/drivers/modesetting/Makefile.am#n46
|
|
|
|
Patch sent upstream: https://bugs.freedesktop.org/show_bug.cgi?id=91584
|
|
|
|
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
|
|
|
|
diff -uNr xorg-server-1.17.2.org/configure.ac xorg-server-1.17.2/configure.ac
|
|
--- xorg-server-1.17.2.org/configure.ac 2015-06-16 17:42:40.000000000 +0200
|
|
+++ xorg-server-1.17.2/configure.ac 2015-08-08 10:44:59.702382624 +0200
|
|
@@ -2036,7 +2036,7 @@
|
|
XORG_SYS_LIBS="$XORG_SYS_LIBS $XORG_MODULES_LIBS"
|
|
fi
|
|
|
|
- if test "x$DRM" = xyes; then
|
|
+ if test "x$DRM" = xyes -a "x$DRI2" = xyes; then
|
|
dnl 2.4.46 is required for cursor hotspot support.
|
|
PKG_CHECK_EXISTS(libdrm >= 2.4.46)
|
|
XORG_DRIVER_MODESETTING=yes
|