[poppler] Branch 'poppler-0.16' - poppler/Hints.cc

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


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

New commits:
commit 14d920864c588e2545d42e2eb995f6316cb58ef4
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