Go to file
Keith Packard 34cf559bcf ProcGetPointerMapping uses rep.nElts before it is initialized
In:

	commit d792ac125a
	Author: Alan Coopersmith <alan.coopersmith@oracle.com>
	Date:   Mon Jul 9 19:12:43 2012 -0700

	    Use C99 designated initializers in dix Replies

the initializer for the .length element of the xGetPointerMappingReply
structure uses the value of rep.nElts, but that won't be set until
after this initializer runs, so we get garbage in the length element
and clients using it will generally wedge.

Easy to verify:

	$ xmodmap -pp

Fixed by creating a local nElts variable and using that.

Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2012-07-10 23:07:06 -07:00
composite Move extension initialisation prototypes into extinit.h 2012-07-09 23:06:41 -07:00
config Fix more poorly indented/wrapped comments & code 2012-07-09 19:14:50 -07:00
damageext Move extension initialisation prototypes into extinit.h 2012-07-09 23:06:41 -07:00
dbe Move extension initialisation prototypes into extinit.h 2012-07-09 23:06:41 -07:00
dix ProcGetPointerMapping uses rep.nElts before it is initialized 2012-07-10 23:07:06 -07:00
doc Add screen-specific privates. 2012-07-05 13:39:50 -07:00
exa exa: pixmap sharing infrastructure (v3) 2012-07-07 10:37:10 +01:00
fb Use new screen-specific privates for fb window and gc privates 2012-07-05 13:40:18 -07:00
glx Move DRI1 from external module to built-in 2012-07-10 00:30:40 -07:00
hw Merge branch 'local-fixes' 2012-07-10 00:52:11 -07:00
include Merge branch 'local-fixes' 2012-07-10 00:52:11 -07:00
m4 Use XORG_STRICT_OPTION from util-macros 1.14 to set -Werror flags 2011-05-27 19:51:05 -07:00
man os: Add -displayfd option 2012-05-01 11:36:30 +10:00
mi Remove unused setupFunc from extensions 2012-07-10 00:31:02 -07:00
miext api: rework the X server driver API to avoid global arrays. 2012-06-05 13:22:18 +01:00
os Merge branch 'local-fixes' 2012-07-10 00:52:11 -07:00
randr Move extension initialisation prototypes into extinit.h 2012-07-09 23:06:41 -07:00
record Move extension initialisation prototypes into extinit.h 2012-07-09 23:06:41 -07:00
render Render: Remove unused glyphDepths 2012-07-10 00:42:09 -07:00
test Move DRI2 from external module to built-in 2012-07-10 00:31:01 -07:00
Xext GE: Remove unused RT_GECLIENT 2012-07-10 00:42:10 -07:00
xfixes Move extension initialisation prototypes into extinit.h 2012-07-09 23:06:41 -07:00
Xi Xi: Remove dead Device{Enter,Leave}WindowMask 2012-07-10 00:42:09 -07:00
xkb XKB: Geom: Remove unused code 2012-07-10 00:42:09 -07:00
.gitignore doc: relocate xserver.ent in the package root directory 2011-05-14 11:22:26 -07:00
autogen.sh autogen.sh: Pass --force to autoreconf 2008-07-22 16:55:26 +03:00
configure.ac Version 1.12.99.901 (1.13 RC1) 2012-07-10 01:14:13 -07:00
COPYING Loader: Remove extension initialisation sorting 2012-07-10 00:31:02 -07:00
devbook.am devbook.am: maintenance update from docbook.am 2011-09-21 14:07:52 -07:00
docbook.am docbook.am: embed css styles inside the HTML HEAD element 2011-09-21 14:07:49 -07:00
fix-miregion Change region implementation names to eliminate the 'mi' prefix 2010-06-05 17:47:32 -07:00
fix-miregion-private Change region implementation names to eliminate the 'mi' prefix 2010-06-05 17:47:32 -07:00
fix-patch-whitespace Rename region macros to eliminate screen argument 2010-06-05 18:59:00 -07:00
fix-region Rename region macros to eliminate screen argument 2010-06-05 18:59:00 -07:00
Makefile.am Add 'install-headers' target in the top-level Makefile 2012-07-09 16:29:04 -07:00
manpages.am Xdmx.man: Show actual configured XKB defaults instead of old hardcoded values 2011-06-21 17:54:14 -07:00
README packaging: provide a default README file #24206 2010-01-27 14:00:17 -08:00
xorg-server.m4 macros: use PKG_CONFIG variable rather than executable name 2010-01-07 12:57:23 -08:00
xorg-server.pc.in xfree86: link modules against Xorg symbols on Cygwin 2012-04-05 21:57:07 -05:00
xserver.ent.in doc: relocate xserver.ent in the package root directory 2011-05-14 11:22:26 -07:00

					X Server

The X server accepts requests from client applications to create windows,
which are (normally rectangular) "virtual screens" that the client program
can draw into.

Windows are then composed on the actual screen by the X server
(or by a separate composite manager) as directed by the window manager,
which usually communicates with the user via graphical controls such as buttons
and draggable titlebars and borders.

For a comprehensive overview of X Server and X Window System, consult the
following article:
http://en.wikipedia.org/wiki/X_server

All questions regarding this software should be directed at the
Xorg mailing list:

        http://lists.freedesktop.org/mailman/listinfo/xorg

Please submit bug reports to the Xorg bugzilla:

        https://bugs.freedesktop.org/enter_bug.cgi?product=xorg

The master development code repository can be found at:

        git://anongit.freedesktop.org/git/xorg/xserver

        http://cgit.freedesktop.org/xorg/xserver

For patch submission instructions, see:

	http://www.x.org/wiki/Development/Documentation/SubmittingPatches

For more information on the git code manager, see:

        http://wiki.x.org/wiki/GitPage