Go to file
Tomas Janousek 81b3b0cce0 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-21 10:42:35 +10:00
composite composite: Fix resource lookups 2009-04-14 16:21:04 -04:00
config config: if we can't connect to HAL, listen for a startup notification. 2009-02-10 15:01:44 +10:00
damageext Remove #define NEED_EVENTS and NEED_REPLIES 2008-12-12 11:43:32 +10:00
dbe Remove #define NEED_EVENTS and NEED_REPLIES 2008-12-12 11:43:32 +10:00
dix dix: refuse events from disabled devices. 2009-05-20 16:22:24 +10:00
doc Remove references to rgb.txt from files section of Xserver and Xorg man pages 2009-02-27 14:42:59 +00:00
exa exa: add missing exa.h header include 2009-04-23 12:13:35 +10:00
fb fb: add fbDoCopy and fbCopyRegion compatibility wrappers. 2009-02-11 14:35:17 +01:00
glx DRI2: Add missing front-buffer flush callback. 2009-04-20 20:58:56 -07:00
hw Xi: remove DeviceIsPointerType 2009-05-20 16:22:24 +10:00
include Xi: remove DeviceIsPointerType 2009-05-20 16:22:24 +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:20:58 +10:00
miext XQuartz: Update window levels when changing rootless state 2009-04-10 00:47:40 -07:00
os os: don't malloc memory in LogVMessageVerb. 2009-04-19 22:20:18 +10:00
randr Correct access mode in call to dixLookupWindow() within RRSelectInput. 2009-03-09 17:29:24 -04:00
record Remove #define NEED_EVENTS and NEED_REPLIES 2008-12-12 11:43:32 +10:00
render render: replace a wrong inputInfo.pointer with pDev 2009-03-16 13:29:07 +10:00
test Update to new XI2 names 2009-05-16 12:20:58 +10:00
Xext Xext: shut up compiler warnings in xtest.c 2009-05-04 15:21:39 +10:00
xfixes xfixes: Fix a couple of resource lookups 2009-04-14 14:24:40 -04:00
Xi Xi: remove DeviceIsPointerType 2009-05-20 16:22:24 +10:00
xkb Bug #6428, #16458, #21464: Fix crash due to uninitialized VModMap fields. 2009-05-21 10:42:35 +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 require inputproto 1.9.99.9 2009-05-16 12:20:59 +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