Go to file
Tomas Janousek bbe0be1e45 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>
(cherry picked from commit 525aa17f80)

Signed-off-by: Keith Packard <keithp@keithp.com>
2009-06-29 14:11:27 -07:00
composite Switching from Automatic to Manual redirect needs to unmap/remap 2008-09-19 20:58:32 -07:00
config config: if we can't connect to HAL, listen for a startup notification. 2009-02-18 17:50:21 -08:00
damageext Unifdef ISC 2008-10-02 17:03:54 -04:00
dbe Dead code cleanup over DBE. 2008-11-25 15:05:20 -05:00
dix xace: Fix a bad device access hook call. 2009-05-19 23:13:57 -04:00
doc Remove references to rgb.txt from files section of Xserver and Xorg man pages 2009-05-08 22:47:43 -07:00
exa EXA: Guard empty pending region warning by DEBUG_MIGRATE. 2009-05-08 12:27:26 -07:00
fb Partially reverts commit 505c216d03. 2008-10-03 11:24:34 -07:00
glx Support setTexBuffer2 in AIGLX. 2009-06-29 14:10:40 -07:00
hw EDID: Fix timing class names to match the spec 2009-06-29 11:41:15 -04:00
include selinux: Add support for avc_acquire_netlink_fd() 2009-03-27 16:18:39 -04:00
mi mi: force the paired kbd device before CopyKeyClass. (#19574) 2009-02-17 18:57:13 -08:00
miext XQuartz: Get rid of white rectangle bug 2009-01-09 10:59:32 -08:00
os os: don't malloc memory in LogVMessageVerb. 2009-05-08 22:50:35 -07:00
randr Correct access mode in call to dixLookupWindow() within RRSelectInput. 2009-04-08 16:05:11 -04:00
record Drop the never-called SkippedRequestCallback list. 2008-10-03 17:51:19 -04:00
render Move matrix operations from X server to pixman 0.13.2 2008-11-25 22:17:58 -08:00
Xext xselinux: Relax ownership restriction on SetSelectionUseContext. 2009-05-11 15:29:39 -04:00
xfixes Unifdef ISC 2008-10-02 17:03:54 -04:00
Xi Xi: don't double-swap the XListDeviceProperties reply. 2009-05-08 22:56:08 -07:00
xkb Bug #6428, #16458, #21464: Fix crash due to uninitialized VModMap fields. 2009-06-29 14:11:27 -07:00
.gitignore gitignore: ignore .patch files 2008-11-21 09:04:17 +10:00
acinclude.m4 dolt: allow older versions of bash to compile the xserver (#19031) 2008-12-16 12:03:03 -08:00
autogen.sh autogen.sh: Pass --force to autoreconf 2008-07-22 16:55:26 +03:00
configure.ac DRI2: Implement protocol for DRI2GetBuffersWithFormat 2009-06-11 22:46:00 -07: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 Fix distcheck with dolt 2009-03-27 16:49:45 -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 Include pciaccess in the xorg-server.pc Requires line. 2008-04-15 14:51:51 -07:00