[poppler] poppler/Hints.cc

Albert Astals Cid aacid at kemper.freedesktop.org
Sun Apr 3 07:07:45 PDT 2011


 poppler/Hints.cc |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 5f6f7fc569d1c891956a3c37b3e328504635ab33
Author: Albert Astals Cid <aacid at kde.org>
Date:   Sun Apr 3 15:06:45 2011 +0100

    Properly initialize pageObjectNum to 0
    
    Bug 35925

diff --git a/poppler/Hints.cc b/poppler/Hints.cc
index a730e56..4f0c959 100644
--- a/poppler/Hints.cc
+++ b/poppler/Hints.cc
@@ -5,7 +5,7 @@
 // This file is licensed under the GPLv2 or later
 //
 // Copyright 2010 Hib Eris <hib at hiberis.nl>
-// Copyright 2010 Albert Astals Cid <aacid at kde.org>
+// Copyright 2010, 2011 Albert Astals Cid <aacid at kde.org>
 // Copyright 2010 Pino Toscano <pino at kde.org>
 //
 //========================================================================
@@ -61,6 +61,7 @@ Hints::Hints(BaseStream *str, Linearization *linearization, XRef *xref, Security
   }
 
   memset(numSharedObject, 0, nPages * sizeof(Guint));
+  memset(pageObjectNum, 0, nPages * sizeof(int));
 
   nSharedGroups = 0;
   groupLength = NULL;


More information about the poppler mailing list