[poppler] poppler/Annot.cc

Albert Astals Cid aacid at kemper.freedesktop.org
Thu Jun 25 11:13:55 PDT 2009


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

New commits:
commit 6cb846664e57b02c99f1e6ad2b4e9128c9622e0a
Author: Ilya Gorenbein <igorenbein at finjan.com>
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;
   }
 }
 


More information about the poppler mailing list