svn commit: r422651 - in head/graphics/poppler: . files

Olivier Duchateau olivierd at FreeBSD.org
Fri Sep 23 08:17:05 UTC 2016


Author: olivierd
Date: Fri Sep 23 08:17:04 2016
New Revision: 422651
URL: https://svnweb.freebsd.org/changeset/ports/422651

Log:
  - Add patch, which fixes crashes of viewers based on Poppler
  - Bump PORTREVISION
  
  PR:		212867
  Reported by:	Bengt Ahlgren
  Obtained from:	Upstream repository

Added:
  head/graphics/poppler/files/patch-poppler_PDFDoc.cc   (contents, props changed)
Modified:
  head/graphics/poppler/Makefile

Modified: head/graphics/poppler/Makefile
==============================================================================
--- head/graphics/poppler/Makefile	Fri Sep 23 07:23:34 2016	(r422650)
+++ head/graphics/poppler/Makefile	Fri Sep 23 08:17:04 2016	(r422651)
@@ -3,7 +3,7 @@
 
 PORTNAME=	poppler
 PORTVERSION=	0.46.0
-PORTREVISION?=	0
+PORTREVISION?=	1
 CATEGORIES=	graphics print
 MASTER_SITES=	http://poppler.freedesktop.org/
 

Added: head/graphics/poppler/files/patch-poppler_PDFDoc.cc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/poppler/files/patch-poppler_PDFDoc.cc	Fri Sep 23 08:17:04 2016	(r422651)
@@ -0,0 +1,17 @@
+From: Albert Astals Cid <aacid at kde.org>
+Date: Sat, 30 Jul 2016 17:32:59 +0200
+Subject: Fix abort on documents where the docinfo obj is not a dict
+
+Bug #97134
+
+--- poppler/PDFDoc.cc.orig	2016-07-05 21:37:01 UTC
++++ poppler/PDFDoc.cc
+@@ -646,7 +646,7 @@ void PDFDoc::setDocInfoStringEntry(const
+ GooString *PDFDoc::getDocInfoStringEntry(const char *key) {
+   Object infoObj;
+   getDocInfo(&infoObj);
+-  if (infoObj.isNull()) {
++  if (!infoObj.isDict()) {
+       return NULL;
+   }
+ 


More information about the svn-ports-all mailing list