summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@nwnk.net>2006-05-09 22:35:52 +0000
committerAdam Jackson <ajax@nwnk.net>2006-05-09 22:35:52 +0000
commit3a332610eb5853652263139bce4db4ba2242dd48 (patch)
treeacc726d00449e38f4254aaa6a6ef79f07052c009
parent421576f413b40ee58220e7d57fa0033f2cbee259 (diff)
Bug #6867: Yet another Render crash fix. (Michel Dänzer)
-rw-r--r--ChangeLog5
-rw-r--r--render/render.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 6cfcb1399..f8a9f8b66 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2006-05-09 Adam Jackson <ajax@freedesktop.org>
+ * render/render.c:
+ Bug #6867: Yet another Render crash fix. (Michel Dänzer)
+
+2006-05-09 Adam Jackson <ajax@freedesktop.org>
+
* configure.ac:
* hw/xfree86/Makefile.am:
* hw/xfree86/common/Makefile.am:
diff --git a/render/render.c b/render/render.c
index 6cd862162..73522ee66 100644
--- a/render/render.c
+++ b/render/render.c
@@ -1,4 +1,4 @@
-/* $XdotOrg: xserver/xorg/render/render.c,v 1.12 2005/08/28 19:47:39 ajax Exp $ */
+/* $XdotOrg: xserver/xorg/render/render.c,v 1.13 2006/02/10 22:00:30 anholt Exp $ */
/*
* $XFree86: xc/programs/Xserver/render/render.c,v 1.27tsi Exp $
*
@@ -747,7 +747,7 @@ ProcRenderComposite (ClientPtr client)
VERIFY_ALPHA (pMask, stuff->mask, client, SecurityReadAccess,
RenderErrBase + BadPicture);
if ((pSrc->pDrawable && pSrc->pDrawable->pScreen != pDst->pDrawable->pScreen) ||
- (pMask && pMask->pDrawable && pSrc->pDrawable->pScreen != pMask->pDrawable->pScreen))
+ (pMask && pMask->pDrawable && pDst->pDrawable->pScreen != pMask->pDrawable->pScreen))
return BadMatch;
CompositePicture (stuff->op,
pSrc,