From: Jay Cotton <[email protected]>

Fixed a core dump in x11perf render tests when a driver was returning
incorrect information due to a bug in the driver.

http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6872780

Signed-off-by: Alan Coopersmith <[email protected]>
---
 src/xftdraw.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/xftdraw.c b/src/xftdraw.c
index ab51749..21f8538 100644
--- a/src/xftdraw.c
+++ b/src/xftdraw.c
@@ -301,7 +301,7 @@ XftDrawSrcPicture (XftDraw *draw, _Xconst XftColor *color)
     int                    i;
     XftColor       bitmapColor;
 
-    if (!info)
+    if (!info || !info->solidFormat)
        return 0;
     
     /*
-- 
1.7.3.2

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to