Re: [poppler] Branch 'better_object' - poppler/SplashOutputDev.cc

2017-05-12 Thread Jason Crain
On Fri, May 12, 2017 at 03:39:27PM -0500, Joan Ronck wrote:
> REMOVE MY NAME FROM THIS MAILING LIST!!!

Please stop sending this to the mailing list.  It's not going to help.
Use the link in the email footer to unsubscribe yourself.

> https://lists.freedesktop.org/mailman/listinfo/poppler
___
poppler mailing list
poppler@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/poppler


Re: [poppler] Branch 'better_object' - poppler/SplashOutputDev.cc

2017-05-12 Thread Joan Ronck
REMOVE MY NAME FROM THIS MAILING LIST!!!

Sent from my iPhone

On May 12, 2017, at 3:25 PM, Albert Astals Cid  
wrote:

poppler/SplashOutputDev.cc |4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 0321bca7a3f6f5bd8b8f3e6ad13f4441e53c909b
Author: Albert Astals Cid 
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
poppler@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/poppler

___
poppler mailing list
poppler@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/poppler


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

2017-05-12 Thread Albert Astals Cid
 poppler/SplashOutputDev.cc |4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 0321bca7a3f6f5bd8b8f3e6ad13f4441e53c909b
Author: Albert Astals Cid 
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
poppler@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/poppler