Go to file
James Cloos e644d2e73f Prevent the -wm command line option from causing a SEGV
The -wm (when mapped) option for the BackingStore support has been
causing the server to dereference a NULL pointer.

This has probably been the case since backing store has been
implemented on top of Composite.

It looks like (some of?) Composite didn’t expect its WIndowPtr
argument to be the root window.

In Composite’s compCheckRedirect() function we now avoid calling
compAllocPixmap() and compFreePixmap() when the pWin pointer’s
parent member is NULL, as is it the case with a server’s root window.

This addresses:

https://bugs.freedesktop.org/show_bug.cgi?id=15878

(cherry picked from commit 04211c3532)
2008-05-16 13:01:34 -04:00
afb Merge branch 'master' into XACE-SELINUX 2007-11-19 18:10:46 -05:00
cfb Merge branch 'master' into XACE-SELINUX 2007-12-13 18:38:25 -05:00
cfb32 get rid of XFree86LOADER, XFree86Server, XFree86Module, and IN_MODULE 2006-07-18 18:17:38 -04:00
composite Prevent the -wm command line option from causing a SEGV 2008-05-16 13:01:34 -04:00
config Fix hal shutdown crash. 2008-05-16 09:50:38 -04:00
damageext Revert "registry: Register DAMAGE extension protocol names." 2007-11-20 17:31:00 -05:00
dbe Revert "registry: Register DBE extension protocol names." 2007-11-20 17:32:35 -05:00
dix dix: Call DeleteInputDeviceRequest from CloseDownDevices (#14418) 2008-04-15 11:47:04 +10:00
doc Merge branch 'master' into XACE-SELINUX 2007-11-19 18:10:46 -05:00
exa EXA: Update pixmaps' accel_blocked field in ModifyPixmapHeader. 2008-04-15 11:48:28 +10:00
fb Check for __x86_64__ when we check for __amd64__ 2008-04-15 11:47:48 +10:00
GL Prefer glxvisuals with stencil buffer for default visuals 2008-05-16 09:45:30 -04:00
hw RANDR 1.1 compat: remove senseless comparison against the virtual size. 2008-05-16 11:11:40 -04:00
include Check for __x86_64__ when we check for __amd64__ 2008-04-15 11:47:48 +10:00
mfb devPrivates rework: put back some changes that were mistakenly removed 2007-11-20 15:31:44 -05:00
mi Empty the borderClip of manual redirect windows. (bug 15823) 2008-05-06 13:03:58 -04:00
miext dix: Modify callers of property and selection API to use new interfaces. 2008-02-29 18:01:37 -05:00
os Default X-SELinux to off. 2008-05-16 10:06:27 -04:00
randr clean some "unused" warnings 2008-03-01 19:49:24 +02:00
record Revert "registry: Register Record extension protocol names." 2007-11-20 17:55:47 -05:00
render Bug #10463: Always initialize reference pixel before AllocColor() 2008-02-29 16:39:29 -05:00
Xext Bug #14692: Allow drivers to have a say in Xinerama visual consolidation. 2008-05-12 16:43:50 -07:00
xfixes Normalize swapped dispatch for Fixes{ChangeSaveSet,SelectSelectionInput} 2008-02-22 15:25:26 -05:00
Xi XACE: Fix instances of DixUnknownAccess at hook callsites. 2008-02-28 16:43:43 -05:00
xkb When XKB fails to open rules file, log the file name, not the NULL file pointer 2008-05-13 16:40:46 -07:00
XTrap Revert "registry: Register XTrap extension protocol names." 2007-11-20 18:49:30 -05:00
.gitignore gitignore: Add two more bits 2008-04-07 10:27:04 -04:00
acinclude.m4 Include comment/copyright/license for AC_DEFINE_DIR in acinclude.m4 2007-07-25 17:42:23 -07:00
autogen.sh Use canonical autogen.sh, which supports srcdir != objdir autogen. 2005-07-01 21:13:36 +00:00
configure.ac Bug 14247: If pkg-config can't find openssl.pc, just link with -lcrypto 2008-04-24 19:06:18 -07:00
COPYING COPYING: Collapse 'canonical license' into one statement 2007-11-07 03:58:56 +02:00
cpprules.in For MANDEFS, also replace __mandir__ for $(mandir) which includes 2006-12-08 15:51:44 -06:00
Makefile.am Bug #11510: Fix build without RECORD. 2008-03-24 13:38:01 -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 Export the server ABI versions from xorg-server.pc 2007-11-05 17:18:46 -05:00