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. Alan Coopersmith's avatarAlan Coopersmith <>
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