REMOVE MY NAME FROM THIS MAILING LIST!!! Sent from my iPhone
On May 12, 2017, at 3:25 PM, Albert Astals Cid <[email protected]> wrote: poppler/SplashOutputDev.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) New commits: commit 0321bca7a3f6f5bd8b8f3e6ad13f4441e53c909b Author: Albert Astals Cid <[email protected]> Date: Fri May 12 22:25:36 2017 +0200 SplashOutputDev::doUpdateFont - Fix crash on broken file diff --git a/poppler/SplashOutputDev.cc b/poppler/SplashOutputDev.cc index 1158ccc2..4bdc79c2 100644 --- a/poppler/SplashOutputDev.cc +++ b/poppler/SplashOutputDev.cc @@ -2075,8 +2075,10 @@ reload: delete id; delete fontLoc; fontLoc = NULL; - if (fontsrc && !fontsrc->isFile) + if (fontsrc && !fontsrc->isFile) { fontsrc->unref(); + fontsrc = nullptr; + } id = new SplashOutFontFileID(gfxFont->getID()); if ((fontFile = fontEngine->getFontFile(id))) { _______________________________________________ poppler mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/poppler _______________________________________________ poppler mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/poppler
