File xpdf-poppler-pimage-null.patch of Package xpdf-poppler

--- xpdf-3.02-poppler.orig/XPDFCore.cc
+++ xpdf-3.02-poppler/XPDFCore.cc
@@ -1343,8 +1343,11 @@ void XPDFCore::redrawRect(PDFCoreTile *t
 
   // draw the document
   if (tile) {
+    if (tile->image)
     XPutImage(display, drawAreaWin, drawAreaGC, tile->image,
 	      xSrc, ySrc, xDest, yDest, width, height);
+    else
+      error(-1, "tile->image NULL in tile @ %p", tile);
 
   // draw the background
   } else {

openSUSE Build Service is sponsored by