XLibre Xserver
Go to file
Tomas Janousek 525aa17f80 Bug #6428, #16458, #21464: Fix crash due to uninitialized VModMap fields.
In ProcXkbGetKbdByName, mrep.firstVModMapKey, .nVModMapKeys and
.totalVModMapKeys were not initialized, contained random values and caused
accesses to unallocated and later modified memory, causing
XkbSizeVirtualModMap and XkbWriteVirtualModMap to see different number of
nonzero values, resulting in writes past the end of an array in XkbSendMap.

This patch initializes those values sensibly and reverts commits 5c0a2088 and
6dd4fc46, which have been plain non-sense.

Signed-off-by: Tomas Janousek <tomi@nomi.cz>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-05-22 12:24:21 +10:00
Xext xselinux: Relax ownership restriction on SetSelectionUseContext. 2009-05-11 15:27:46 -04:00
Xi Xi: fix copy/paste error causing sizeof against wrong struct. 2009-05-08 14:24:47 +10:00
composite Correct some Sun license notices to Sun's standard X11 license format 2009-05-15 11:24:15 -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 dix: remove superfluous loop in change_modmap. 2009-05-22 12:24:21 +10:00
doc xfree86: restore default off for DontZap 2009-04-28 16:17:16 +10:00
exa EXA: Allocate from the end of free offscreen memory rather than from the start. 2009-05-18 17:53:35 +02:00
fb Fix most remaining deprecated resource lookups. 2009-04-29 01:04:37 -04:00
glx glx: Register names for the GLX resource types. 2009-05-19 22:49:25 -04:00
hw xfree86: treat other drivers as mouse drivers in the config. 2009-05-22 12:24:21 +10: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: un-deprecate miPointerWarpCursor 2009-05-16 12:01:22 +10:00
miext XQuartz: Update window levels when changing rootless state 2009-04-10 00:47:40 -07:00
os Update several of my and/or Red Hat's licenses to standard form. 2009-05-14 07:02:44 -04: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 alpha map computation in miComputeCompositeRegion() 2009-05-21 18:21:28 -04:00
test test: add InternalEvent to core event conversion tests. 2009-04-28 15:57:14 +10:00
xfixes Correct some Sun license notices to Sun's standard X11 license format 2009-05-15 11:24:15 -07:00
xkb Bug #6428, #16458, #21464: Fix crash due to uninitialized VModMap fields. 2009-05-22 12:24:21 +10:00
.gitignore Add shave so that we can see the steaming piles of warnings generated. 2009-04-14 10:35:44 -04:00
COPYING Correct some Sun license notices to Sun's standard X11 license format 2009-05-15 11:24:15 -07:00
Makefile.am Move contributed m4 to a subdir so we can more easily update contributions. 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
cpprules.in For MANDEFS, also replace __mandir__ for $(mandir) which includes 2006-12-08 15:51:44 -06: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