diff options
author | Olivier Duchateau <olivierd@FreeBSD.org> | 2016-09-23 08:17:04 +0000 |
---|---|---|
committer | Olivier Duchateau <olivierd@FreeBSD.org> | 2016-09-23 08:17:04 +0000 |
commit | f06cf93d66b037f322173b63b663242c29b71da2 (patch) | |
tree | dc379edaf73fb7e8467d80c3e8710c8307e17038 /graphics | |
parent | 8f8e79fb938795275a71053641b7ae53dc72feed (diff) | |
download | ports-f06cf93d66b037f322173b63b663242c29b71da2.tar.gz ports-f06cf93d66b037f322173b63b663242c29b71da2.zip |
Notes
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/poppler/Makefile | 2 | ||||
-rw-r--r-- | graphics/poppler/files/patch-poppler_PDFDoc.cc | 17 |
2 files changed, 18 insertions, 1 deletions
diff --git a/graphics/poppler/Makefile b/graphics/poppler/Makefile index 610e958f1d8d..206a9507a840 100644 --- a/graphics/poppler/Makefile +++ b/graphics/poppler/Makefile @@ -3,7 +3,7 @@ PORTNAME= poppler PORTVERSION= 0.46.0 -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES= graphics print MASTER_SITES= http://poppler.freedesktop.org/ diff --git a/graphics/poppler/files/patch-poppler_PDFDoc.cc b/graphics/poppler/files/patch-poppler_PDFDoc.cc new file mode 100644 index 000000000000..25be510881a6 --- /dev/null +++ b/graphics/poppler/files/patch-poppler_PDFDoc.cc @@ -0,0 +1,17 @@ +From: Albert Astals Cid <aacid@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; + } + |