poppler/PDFDoc.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 7d3aea760a14a73962e429059f73d97391660367 Author: Albert Astals Cid <[email protected]> Date: Sat Jul 30 17:32:59 2016 +0200 Fix abort on documents where the docinfo obj is not a dict Bug #97134 diff --git a/poppler/PDFDoc.cc b/poppler/PDFDoc.cc index c91d6e4..a51d8b6 100644 --- a/poppler/PDFDoc.cc +++ b/poppler/PDFDoc.cc @@ -14,7 +14,7 @@ // under GPL version 2 or later // // Copyright (C) 2005, 2006, 2008 Brad Hards <[email protected]> -// Copyright (C) 2005, 2007-2009, 2011-2015 Albert Astals Cid <[email protected]> +// Copyright (C) 2005, 2007-2009, 2011-2016 Albert Astals Cid <[email protected]> // Copyright (C) 2008 Julien Rebetez <[email protected]> // Copyright (C) 2008, 2010 Pino Toscano <[email protected]> // Copyright (C) 2008, 2010, 2011 Carlos Garcia Campos <[email protected]> @@ -646,7 +646,7 @@ void PDFDoc::setDocInfoStringEntry(const char *key, GooString *value) GooString *PDFDoc::getDocInfoStringEntry(const char *key) { Object infoObj; getDocInfo(&infoObj); - if (infoObj.isNull()) { + if (!infoObj.isDict()) { return NULL; } _______________________________________________ poppler mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/poppler
