[poppler] Branch 'poppler-0.14' - poppler/SplashOutputDev.cc

Albert Astals Cid aacid at kemper.freedesktop.org
Sat Oct 23 15:35:00 PDT 2010


 poppler/SplashOutputDev.cc |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit 0f5653d2c1f361cf4e049aec33e58e29986b0092
Author: Albert Astals Cid <aacid at kde.org>
Date:   Sat Oct 23 23:33:00 2010 +0100

    Fix crash in malformed documents

diff --git a/poppler/SplashOutputDev.cc b/poppler/SplashOutputDev.cc
index 21d7be6..8369776 100644
--- a/poppler/SplashOutputDev.cc
+++ b/poppler/SplashOutputDev.cc
@@ -1812,6 +1812,11 @@ void SplashOutputDev::type3D1(GfxState *state, double wx, double wy,
   double xt, yt, xMin, xMax, yMin, yMax, x1, y1;
   int i, j;
 
+  if (unlikely(t3GlyphStack == NULL)) {
+    error(-1, "t3GlyphStack was null in SplashOutputDev::type3D1");
+    return;
+  }
+
   t3Font = t3GlyphStack->cache;
 
   // check for a valid bbox


More information about the poppler mailing list