xserver/Xext
Julien Cristau 836573bd2f Fix ShmPutImage for XYBitmap
We can't call CopyArea in that case because the image has depth 1, which
might not match the target drawable, so we might overrun the shm
segment.  Commit 11817a881c apparently
fixed a similar bug for XYPixmap, but missed the bitmap case.

Fixes: http://bugs.debian.org/629611

Thanks to Alan Curry for diagnosing this and providing a test case.

Reported-and-tested-by: Alan Curry <pacman@kosh.dhis.org>
Reviewed-by: Peter Harris <pharris@opentext.com>
Signed-off-by: Julien Cristau <jcristau@debian.org>
(cherry picked from commit 08ec4da6a7)
2012-01-18 11:28:15 -08:00
..
bigreq.c xserver: delete pervasively use of DISPATCH_PROC 2010-09-28 16:45:05 +03:00
dpms.c Eliminate boilerplate around client->noClientException. 2010-05-13 17:14:07 -07:00
dpmsproc.h DPMS: Remove unused DPMSGet() 2009-04-03 18:22:20 -04:00
dpmsstubs.c DPMS: Remove unused DPMSGet() 2009-04-03 18:22:20 -04:00
geext.c Xext: fix test on extension number for the swapped case. 2011-04-07 08:36:59 +10:00
geext.h Xext: remove ev_fill from GEExtensions. 2009-03-20 15:17:54 +10:00
geint.h Change the devPrivates API to require dixRegisterPrivateKey 2010-06-05 19:23:03 -07:00
Makefile.am Create/Destroy/Trigger/Reset/Query Fence Sync objs 2010-12-06 19:15:38 -08:00
panoramiX.c composite: add panoramix support 2010-11-30 13:47:42 -05:00
panoramiX.h Delete panoramiXdataPtr: it's redundant. 2010-06-03 14:03:23 -07:00
panoramiXh.h Centralize declaration of ConnectionInfo. 2008-08-20 13:14:34 -04:00
panoramiXprocs.c Xext: panoramiXprocs: fix typo 2010-11-15 08:44:39 +08:00
panoramiXsrv.h fixes: Add panoramix support 2010-11-30 13:47:41 -05:00
panoramiXSwap.c Merge branch 'master' into mpx 2008-01-03 17:04:54 +10:30
saver.c xext: don't free uninitialised pointer when malloc fails. (v2) 2012-01-18 11:17:44 -08:00
security.c Resources: Move rClient to resource.h 2010-12-31 12:36:44 +00:00
securitysrv.h Xext: include security protocol header instead of client header 2009-09-20 19:57:01 +10:00
shape.c xserver: delete pervasively use of DISPATCH_PROC 2010-09-28 16:45:05 +03:00
shm.c Fix ShmPutImage for XYBitmap 2012-01-18 11:28:15 -08:00
shmint.h Update to xextproto 7.0.99.1. 2009-07-15 17:00:05 +10:00
sleepuntil.c Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
sleepuntil.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
sync.c X Sync Cleanups 2011-01-05 08:41:30 -08:00
syncsdk.h Create/Destroy/Trigger/Reset/Query Fence Sync objs 2010-12-06 19:15:38 -08:00
syncsrv.h Add XSyncAwaitFence() handler 2010-12-06 19:15:38 -08:00
xace.c xace: Invalid reference to out-of-scope data. 2010-08-10 16:04:16 -07:00
xace.h Correct outdated e-mail address in "Author" statements. 2009-09-02 17:56:52 -04:00
xacestr.h Correct outdated e-mail address in "Author" statements. 2009-09-02 17:56:52 -04:00
xcalibrate.c Set event sequence number in WriteEventsToClient instead of at callers. 2010-05-19 12:32:34 -07:00
xcmisc.c xserver: delete pervasively use of DISPATCH_PROC 2010-09-28 16:45:05 +03:00
xf86bigfont.c Fix compilation of xf86bigfont.c 2011-01-25 14:41:02 +00:00
xf86bigfontsrv.h New header for XF86Bigfont server functions 2010-03-22 00:48:04 -05:00
xres.c Eliminate boilerplate around client->noClientException. 2010-05-13 17:14:07 -07:00
xselinux.h xselinux: Bump extension minor version. 2010-02-22 17:05:01 -05:00
xselinux_ext.c xselinux: Fix GetDrawableContext 2011-02-02 14:33:01 -08:00
xselinux_hooks.c Change the devPrivates API to require dixRegisterPrivateKey 2010-06-05 19:23:03 -07:00
xselinux_label.c Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
xselinuxint.h Change the devPrivates API to require dixRegisterPrivateKey 2010-06-05 19:23:03 -07:00
xtest.c xorg: remove unused pointer values all over the server 2011-04-04 17:27:12 +03:00
xvdisp.c xv: test correct number of requests. (v2) 2012-01-18 11:26:43 -08:00
xvdisp.h Fix swapped Xv dispatch under Xinerama. 2007-12-02 14:15:36 -05:00
xvdix.h Add typed resource-lookup errors for non-core resource types. 2010-05-19 12:32:48 -07:00
xvmain.c xv: Don't send port notify when SetPortAttribute fails 2010-06-21 19:03:20 -07:00
xvmc.c Xext: Fix buggy checks. 2011-06-29 21:38:33 -07:00
xvmcext.h Use libtool convenience libraries and better "symbol" table. 2008-12-07 02:22:19 -02:00