From owner-svn-ports-all@freebsd.org Fri Sep 23 08:17:05 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B8CBDBE6E17; Fri, 23 Sep 2016 08:17:05 +0000 (UTC) (envelope-from olivierd@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 880FDF6F; Fri, 23 Sep 2016 08:17:05 +0000 (UTC) (envelope-from olivierd@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u8N8H4xB045929; Fri, 23 Sep 2016 08:17:04 GMT (envelope-from olivierd@FreeBSD.org) Received: (from olivierd@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u8N8H4MV045927; Fri, 23 Sep 2016 08:17:04 GMT (envelope-from olivierd@FreeBSD.org) Message-Id: <201609230817.u8N8H4MV045927@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: olivierd set sender to olivierd@FreeBSD.org using -f From: Olivier Duchateau Date: Fri, 23 Sep 2016 08:17:04 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r422651 - in head/graphics/poppler: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Sep 2016 08:17:05 -0000 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 +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; + } +