xserver/hw
Matthieu Herrb 611b3b1d40 Autoconfig: Fix the loop adding dectected drivers to the list of screens
This loop was written in a buggy style, causing a NULL driver ptr to be
passed to copyScreen(). copyScreen() only uses that to generate an
identifier string, so this is mostly harmless on systems that accept
NULL for asprintf() "%s" format. (the generated identifiers are off
by one wrt the driver names and the last one contains NULL.

For systems that don't accept NULL for '%s' this would cause a
segmentation fault when this code is used (no xorg.conf, but partial
config in xorg.conf.d for instance).

Signed-off-by: Matthieu Herrb <matthieu@herrb.eu>
Reviewed-by: Keith Packard <keithp@keithp.com>
2016-08-15 12:43:43 -04:00
..
dmx Switch poll() users to xserver_poll() 2016-07-21 15:04:36 -04:00
kdrive Switch poll() users to xserver_poll() 2016-07-21 15:04:36 -04:00
vfb Remove fd_set from Block/Wakeup handler API 2016-07-18 15:27:51 -04:00
xfree86 Autoconfig: Fix the loop adding dectected drivers to the list of screens 2016-08-15 12:43:43 -04:00
xnest Remove fd_set from Block/Wakeup handler API 2016-07-18 15:27:51 -04:00
xquartz Remove readmask from screen block/wakeup handler 2016-07-18 15:27:51 -04:00
xwayland Remove fd_set from Block/Wakeup handler API 2016-07-18 15:27:51 -04:00
xwin hw/xwin: Update BlockHandler function signature 2016-07-19 08:10:11 -07:00
Makefile.am Xwayland DDX 2014-04-03 15:19:22 -07:00