poppler/Annot.cc |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 6cb846664e57b02c99f1e6ad2b4e9128c9622e0a
Author: Ilya Gorenbein <[email protected]>
Date:   Thu Jun 25 20:13:29 2009 +0200

    Initilize AnnotColot properly when the Array is not correct

diff --git a/poppler/Annot.cc b/poppler/Annot.cc
index b3dd9a1..4bba3b5 100644
--- a/poppler/Annot.cc
+++ b/poppler/Annot.cc
@@ -658,6 +658,9 @@ AnnotColor::AnnotColor(Array *array) {
       }
       obj1.free();
     }
+  } else {
+    values = NULL;
+    length = 0;
   }
 }
 
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to