[poppler] poppler/Form.cc

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Jul 1 22:25:02 UTC 2020


 poppler/Form.cc |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 42457a711e2168e66d3b55bcf32d4760aa2106b3
Author: Albert Astals Cid <aacid at kde.org>
Date:   Thu Jul 2 00:20:52 2020 +0200

    FormPageWidgets: Initialize size

diff --git a/poppler/Form.cc b/poppler/Form.cc
index e8af54ac..5e59982d 100644
--- a/poppler/Form.cc
+++ b/poppler/Form.cc
@@ -2211,6 +2211,7 @@ FormPageWidgets::FormPageWidgets (Annots *annots, unsigned int page, Form *form)
 {
   numWidgets = 0;
   widgets = nullptr;
+  size = 0;
 
   if (annots && annots->getNumAnnots() > 0 && form) {
     size = annots->getNumAnnots();


More information about the poppler mailing list