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

New commits:
commit cd04a81343fd5cba824a891f25c01eeffee5f906
Author: Albert Astals Cid <aa...@kde.org>
Date:   Tue Aug 8 22:42:46 2017 +0200

    Fix use of uninitialized value use
    
    Bug #102117

diff --git a/poppler/XRef.cc b/poppler/XRef.cc
index 10526017..eca2dc70 100644
--- a/poppler/XRef.cc
+++ b/poppler/XRef.cc
@@ -423,7 +423,7 @@ XRef *XRef::copy() {
   for (int i = 0; i < size; ++i) {
     xref->entries[i].offset = entries[i].offset;
     xref->entries[i].type = entries[i].type;
-    xref->entries[i].obj.setToNull();
+    xref->entries[i].obj.initNullAfterMalloc();
     xref->entries[i].flags = entries[i].flags;
     xref->entries[i].gen = entries[i].gen;
   }
_______________________________________________
poppler mailing list
poppler@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to