poppler/SplashOutputDev.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit db254b4b5b1ac2dae46b9fd5ad23af311e481489 Author: Even Rouault <[email protected]> Date: Fri Jun 16 00:21:53 2017 +0200 Fix crash on broken file Fixes bug #101366 diff --git a/poppler/SplashOutputDev.cc b/poppler/SplashOutputDev.cc index b9fa6cbd..5502be64 100644 --- a/poppler/SplashOutputDev.cc +++ b/poppler/SplashOutputDev.cc @@ -37,6 +37,7 @@ // Copyright (C) 2015 Tamas Szekeres <[email protected]> // Copyright (C) 2015 Kenji Uno <[email protected]> // Copyright (C) 2016 Takahiro Hashimoto <[email protected]> +// Copyright (C) 2017 Even Rouault <[email protected]> // // To see a description of the changes please see the Changelog file that // came with your tarball or type make ChangeLog if you are building from git @@ -2725,7 +2726,7 @@ void SplashOutputDev::type3D1(GfxState *state, double wx, double wy, int i, j; // ignore multiple d0/d1 operators - if (t3GlyphStack->haveDx) { + if (!t3GlyphStack || t3GlyphStack->haveDx) { return; } t3GlyphStack->haveDx = gTrue; _______________________________________________ poppler mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/poppler
