xserver-multidpi/hw/xfree86
Ander Conselvan de Oliveira 0df12a3f01 xfree86: Remove device from inputInfo.devices if ActivateDevice failed.
After the call to xf86ActivateDevice, the new device will be added to
inputInfo.devices. However, if the subsequent call to ActivateDevice
fails, the correponding InputInfoRec for the device is deleted but an
entry still remains in inputInfo.devices. This might lead to a server
crash later on (on InitAndStartDevices for instance) when the device
control proc would be called for an invalid device.
(cherry picked from commit efa31092d6)

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Keith Packard <keithp@keithp.com>
2009-05-08 12:31:41 -07:00
..
common xfree86: Remove device from inputInfo.devices if ActivateDevice failed. 2009-05-08 12:31:41 -07:00
ddc Add missing newline when printing edid info 2008-11-13 13:57:30 -05:00
dixmods glx: Replace broken GLX visual setup with a fixed "all" mode. 2009-02-17 19:00:41 -08:00
doc Add Extensions section to xorg.conf man page 2009-02-25 11:34:29 -08:00
dri DRI1: Make DRICreateDrawable return TRUE for pixmaps. 2009-02-25 11:34:48 -08:00
dri2 DRI2: Send the version the code actually supports 2009-05-08 12:23:27 -07:00
dummylib Warning fix 2008-11-25 15:05:19 -05:00
exa More man page updates for 1.6 release for Xorg, xorg.conf & exa man pages. 2008-12-02 23:37:36 -08:00
fbdevhw fbdevhw: Remove pixclock check. 2008-09-04 13:08:06 +02:00
i2c Dead code removal 2008-07-17 21:37:50 +03:00
int10 Warning fix 2008-11-25 15:05:19 -05:00
loader X11/fonts/fontmod.h doesn't exist anymore. 2009-02-18 16:43:23 -08:00
modes randr: Fix thinko in xf86TargetPreferred 2009-03-20 16:58:06 -07:00
os-support Correct static symbol XkmReadTOC and first pass on compile warning fixes. 2009-02-17 15:49:06 -08:00
parser Make RgbPath keyword in xorg.conf a non-fatal error 2009-02-19 13:43:40 -08:00
ramdac xfree86: don't render SW cursors for devices attached to VCP (#16805) 2008-12-16 12:03:04 -08:00
shadowfb Prepare for array-index based devPrivates. 2008-08-28 18:05:40 -04:00
utils Remove xorgcfg 2008-07-24 03:01:45 +03:00
vbe Warning fix. 2008-11-25 15:05:18 -05:00
vgahw XFree86: Remove usage of alloca 2007-11-05 14:34:42 +00:00
x86emu x86emu: fix sparse warnings 2008-10-26 13:17:31 +01:00
xaa XAA: Disable offscreen pixmaps by default. 2009-01-09 09:57:46 -08:00
xf8_16bpp Remove smashing of CFLAGS from server build. 2006-09-18 12:11:18 -07:00
Makefile.am re-enable DRI2 2008-10-15 12:00:16 +01:00
Options Initial revision 2003-11-14 16:48:57 +00:00
xorgconf.cpp Remove all traces of external RGB database (and Speedo) 2007-11-05 16:28:35 +00:00