Commit 652d9b47 authored by Jay Cotton's avatar Jay Cotton Committed by Alan Coopersmith

XftDrawSrcPicture: fail if info->solidFormat is NULL

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=6872780Signed-off-by: Alan Coopersmith's avatarAlan Coopersmith <alan.coopersmith@oracle.com>
parent 1e03ac60
......@@ -301,7 +301,7 @@ XftDrawSrcPicture (XftDraw *draw, _Xconst XftColor *color)
int i;
XftColor bitmapColor;
if (!info)
if (!info || !info->solidFormat)
return 0;
/*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment