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

New commits:
commit fada09a2ccc11a3a1d308e810f1336d8df6011fd
Author: Albert Astals Cid <aa...@kde.org>
Date:   Mon Mar 18 00:50:00 2019 +0100

    pdfunite: Fix stack overflow on broken file
    
    Fixes issue #741

diff --git a/poppler/PDFDoc.cc b/poppler/PDFDoc.cc
index 26842f84..ab4abcad 100644
--- a/poppler/PDFDoc.cc
+++ b/poppler/PDFDoc.cc
@@ -1703,7 +1703,7 @@ void PDFDoc::markObject (Object* obj, XRef *xRef, XRef 
*countRef, unsigned int n
       array = obj->getArray();
       for (int i=0; i<array->getLength(); i++) {
         Object obj1 = array->getNF(i).copy();
-        markObject(&obj1, xRef, countRef, numOffset, oldRefNum, newRefNum);
+        markObject(&obj1, xRef, countRef, numOffset, oldRefNum, newRefNum, 
alreadyMarkedDicts);
       }
       break;
     case objDict:
_______________________________________________
poppler mailing list
poppler@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to