[poppler] poppler/Link.cc

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Mar 30 21:36:18 UTC 2022


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

New commits:
commit 48bbbfefcb608b04c427d288c876c1eb19813590
Author: Albert Astals Cid <aacid at kde.org>
Date:   Wed Mar 30 23:20:05 2022 +0200

    Fix crash introduced in dbbaa1651dc168f71054e3dd9ef91e33c960bfb7

diff --git a/poppler/Link.cc b/poppler/Link.cc
index dd17cf33..b2e48cbc 100644
--- a/poppler/Link.cc
+++ b/poppler/Link.cc
@@ -170,7 +170,7 @@ std::unique_ptr<LinkAction> LinkAction::parseAction(const Object *obj, const std
         }
 
         actionList.reserve(1);
-        actionList.push_back(parseAction(&nextObj, nullptr, seenNextActions));
+        actionList.push_back(parseAction(&nextObj, {}, seenNextActions));
     } else if (nextObj.isArray()) {
         const Array *a = nextObj.getArray();
         const int n = a->getLength();
@@ -192,7 +192,7 @@ std::unique_ptr<LinkAction> LinkAction::parseAction(const Object *obj, const std
                 }
             }
 
-            actionList.push_back(parseAction(&obj3, nullptr, seenNextActions));
+            actionList.push_back(parseAction(&obj3, {}, seenNextActions));
         }
     }
 


More information about the poppler mailing list