[poppler] poppler/Annot.cc

Albert Astals Cid aacid at kemper.freedesktop.org
Mon Oct 25 11:01:35 PDT 2010


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

New commits:
commit 6ad36277971ec46d4a4ef0c45625e60f8c5f1247
Author: Albert Astals Cid <aacid at kde.org>
Date:   Mon Oct 25 18:59:49 2010 +0100

    Initialze movie to NULL on broken pdf files

diff --git a/poppler/Annot.cc b/poppler/Annot.cc
index 632b8be..2c77023 100644
--- a/poppler/Annot.cc
+++ b/poppler/Annot.cc
@@ -4101,6 +4101,7 @@ void AnnotMovie::initialize(XRef *xrefA, Catalog *catalog, Dict* dict) {
     obj2.free();
   } else {
     error(-1, "Bad Annot Movie");
+    movie = NULL;
     ok = gFalse;
   }
   movieDict.free();


More information about the poppler mailing list