xserver/hw/xfree86
Jesse Adkins bce12f2956 xfree86: parser: Never use constant strings for driver names (fixes #17438)
When the parser sees the "keyboard" driver, it automatically (and
 silently) replaces it with the constant string "kbd".
Everybody else uses malloc'd memory for the driver name, so input
 device closure assumes it can use free.
Free val.str, so this crash doesn't turn into a memory leak. Whew.

Signed-off-by: Jesse Adkins <jesserayadkins@gmail.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-08-13 11:43:18 +10:00
..
common Unwrap/rewrap EnterVT/LeaveVT completely, Fixes 28998 2010-07-13 09:58:04 -07:00
ddc ddc: Fix memory leak in GetEDID_DDC1 2010-08-01 22:48:21 -04:00
dixmods Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
doc Use DocBook stylesheets from xorg-sgml-doctools if they're available 2010-07-23 12:41:25 -07:00
dri Make DRI_SCREEN_PRIV just return NULL when DRI isn't initialized 2010-06-07 21:49:43 -07:00
dri2 DRI2: re-allocate DRI2 drawable if pixmap serial changes 2010-07-09 16:14:14 -07:00
exa Change the devPrivates API to require dixRegisterPrivateKey 2010-06-05 19:23:03 -07:00
fbdevhw Install fbdevhw module in normal module directory instead of linux/ 2010-06-03 07:29:50 -07:00
i2c Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
int10 Record some additional library dependencies in xf86 modules 2010-06-10 19:01:22 -07:00
loader Revert "mi: Remove unused overlay support" 2010-06-22 12:11:20 -07:00
modes xfree86/modes: Allow the driver to specify initial rotation 2010-06-30 08:47:22 -07:00
os-support Remove more superfluous if(p) checks around free(p) 2010-06-11 19:05:46 +07:00
parser xfree86: parser: Never use constant strings for driver names (fixes #17438) 2010-08-13 11:43:18 +10:00
ramdac Add API to update setting of waitForUpdate screen private in miPointer 2010-07-02 14:27:49 +10:00
shadowfb Unwrap/rewrap EnterVT/LeaveVT completely, Fixes 28998 2010-07-13 09:58:04 -07:00
utils Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
vbe Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
vgahw Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
x86emu Convert x86emu fixed size int typedefs to use stdint types 2010-04-07 16:18:24 -07:00
xaa Unwrap/rewrap EnterVT/LeaveVT completely, Fixes 28998 2010-07-13 09:58:04 -07:00
xf8_16bpp Update several of my and/or Red Hat's licenses to standard form. 2009-05-14 07:02:44 -04:00
.gitignore .gitignore: use common defaults with custom section #24239 2009-11-11 21:40:20 -08:00
Makefile.am Fix relink targets for silent rules 2010-03-22 00:45:52 -05:00
xorgconf.cpp Update xorg.conf man page & sample for changes in Xorg 1.7 2009-09-14 16:03:18 +10:00