[poppler] poppler/Stream.cc

Albert Astals Cid aacid at kemper.freedesktop.org
Sun Jun 16 10:00:42 PDT 2013


 poppler/Stream.cc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 714ee1e61d853394818dca7155b1b882408ffc6a
Author: Albert Astals Cid <aacid at kde.org>
Date:   Sun Jun 16 19:00:01 2013 +0200

    Pass down the recursion param
    
    Fixes heap smashing in 168.pdf.SIGSEGV.598.462

diff --git a/poppler/Stream.cc b/poppler/Stream.cc
index d6a69b0..41cb8c1 100644
--- a/poppler/Stream.cc
+++ b/poppler/Stream.cc
@@ -186,7 +186,7 @@ Stream *Stream::addFilters(Object *dict, int recursion) {
     str = makeFilter(obj.getName(), str, &params, recursion, dict);
   } else if (obj.isArray()) {
     for (i = 0; i < obj.arrayGetLength(); ++i) {
-      obj.arrayGet(i, &obj2);
+      obj.arrayGet(i, &obj2, recursion);
       if (params.isArray())
 	params.arrayGet(i, &params2, recursion);
       else


More information about the poppler mailing list