poppler/Form.cc | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 42457a711e2168e66d3b55bcf32d4760aa2106b3
Author: Albert Astals Cid <[email protected]>
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();
_______________________________________________
poppler mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/poppler