[poppler] poppler/Stream.cc

Albert Astals Cid aacid at kemper.freedesktop.org
Mon May 23 22:00:40 UTC 2016


 poppler/Stream.cc |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 9ce8dd7fbd132b5f423dc3bf10fa87b973390d0b
Author: Albert Astals Cid <aacid at kde.org>
Date:   Mon May 23 23:59:40 2016 +0200

    Fix stack overflow on broken file
    
    Bug #95567

diff --git a/poppler/Stream.cc b/poppler/Stream.cc
index 1e6318e..f1c68e9 100644
--- a/poppler/Stream.cc
+++ b/poppler/Stream.cc
@@ -14,7 +14,7 @@
 // under GPL version 2 or later
 //
 // Copyright (C) 2005 Jeff Muizelaar <jeff at infidigm.net>
-// Copyright (C) 2006-2010, 2012-2014 Albert Astals Cid <aacid at kde.org>
+// Copyright (C) 2006-2010, 2012-2014, 2016 Albert Astals Cid <aacid at kde.org>
 // Copyright (C) 2007 Krzysztof Kowalczyk <kkowalczyk at gmail.com>
 // Copyright (C) 2008 Julien Rebetez <julien at fhtagn.net>
 // Copyright (C) 2009 Carlos Garcia Campos <carlosgc at gnome.org>
@@ -178,7 +178,7 @@ Stream *Stream::addFilters(Object *dict, int recursion) {
   dict->dictLookup("Filter", &obj, recursion);
   if (obj.isNull()) {
     obj.free();
-    dict->dictLookup("F", &obj);
+    dict->dictLookup("F", &obj, recursion);
   }
   dict->dictLookup("DecodeParms", &params, recursion);
   if (params.isNull()) {


More information about the poppler mailing list