Go to file
Peter Hutterer ac13145dbc xkb: if kbd init failed, NULL out the pointers after freeing them (#21278)
Reproducible:
Configure a server that uses the keyboard driver with an invalid ruleset,
e.g. (Option "XkbRules" "foobar"). Ensure that Option "AllowEmptyInput" is
"off" in the ServerFlags or ServerLayout section. Start the server.
After failing to init the keymap, the server will try to clean up after the
device, double-freeing some xkb structs that have not been reset properly.

X.Org Bug 21278 <http://bugs.freedesktop.org/show_bug.cgi?id=21278>

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-05-11 15:54:12 +10:00
composite Export CompositeRegisterAlternateVisuals. 2009-04-27 13:29:40 -07:00
config Don't printf NULL pointers on HAL connection error 2009-05-08 21:31:01 -07:00
damageext Fix most remaining deprecated resource lookups. 2009-04-29 01:04:37 -04:00
dbe Fix most remaining deprecated resource lookups. 2009-04-29 01:04:37 -04:00
dix Fix a couple off-by-one array boundary checks. 2009-05-08 12:27:11 -07:00
doc xfree86: restore default off for DontZap 2009-04-28 16:17:16 +10:00
exa exa: add missing exa.h header include 2009-04-23 12:13:35 +10:00
fb Fix most remaining deprecated resource lookups. 2009-04-29 01:04:37 -04:00
glx Fix obvious copypasta 2009-04-27 13:36:39 -07:00
hw XQuartz: pbproxy standalone: added missing variable declarations. 2009-05-09 11:41:47 -07:00
include xkb: remove _XkbAlloc, _XkbCalloc, _XkbRealloc and _XkbFree 2009-05-08 14:28:53 +10:00
m4 Add shave so that we can see the steaming piles of warnings generated. 2009-04-14 10:35:44 -04:00
mi mi: don't crash if we're trying to update the pointer for a keyboard. 2009-05-05 14:12:04 +10:00
miext XQuartz: Update window levels when changing rootless state 2009-04-10 00:47:40 -07:00
os Make the cursor completely optional 2009-04-28 10:43:53 +10:00
randr Fix most remaining deprecated resource lookups. 2009-04-29 01:04:37 -04:00
record Fix most remaining deprecated resource lookups. 2009-04-29 01:04:37 -04:00
render Fix typo in ProcRenderCreateAnimCursor. 2009-05-04 10:14:43 +02:00
test test: add InternalEvent to core event conversion tests. 2009-04-28 15:57:14 +10:00
Xext Fix a couple off-by-one array boundary checks. 2009-05-08 12:27:11 -07:00
xfixes Fix most remaining deprecated resource lookups. 2009-04-29 01:04:37 -04:00
Xi Xi: fix copy/paste error causing sizeof against wrong struct. 2009-05-08 14:24:47 +10:00
xkb xkb: if kbd init failed, NULL out the pointers after freeing them (#21278) 2009-05-11 15:54:12 +10:00
.gitignore Add shave so that we can see the steaming piles of warnings generated. 2009-04-14 10:35:44 -04:00
autogen.sh autogen.sh: Pass --force to autoreconf 2008-07-22 16:55:26 +03:00
configure.ac Change glib require for tests to auto. 2009-05-05 14:12:04 +10:00
COPYING Revert "Update COPYING for SHA1 code" 2008-09-23 09:21:37 -07:00
cpprules.in For MANDEFS, also replace __mandir__ for $(mandir) which includes 2006-12-08 15:51:44 -06:00
Makefile.am Move contributed m4 to a subdir so we can more easily update contributions. 2009-04-14 10:35:44 -04:00
shave-libtool.in Add shave so that we can see the steaming piles of warnings generated. 2009-04-14 10:35:44 -04:00
shave.in Add shave so that we can see the steaming piles of warnings generated. 2009-04-14 10:35:44 -04:00
xorg-server.m4 Add xorg-server.m4 for driver dependency checking. 2005-11-01 15:01:51 +00:00
xorg-server.pc.in Enable compiling the X Server and modules with hidden symbols by default. 2008-11-28 02:01:57 -02:00