poppler/Hints.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 1cb3d5d94a1d89ccded96d977bcabfbe438fb81f
Author: Albert Astals Cid <[email protected]>
Date: Sat Nov 20 18:08:45 2010 +0000
fix the memset
Fixes crash in broken pdf
diff --git a/poppler/Hints.cc b/poppler/Hints.cc
index 3784541..7ea9c7b 100644
--- a/poppler/Hints.cc
+++ b/poppler/Hints.cc
@@ -60,7 +60,7 @@ Hints::Hints(BaseStream *str, Linearization *linearization,
XRef *xref, Security
nPages = 0;
}
- memset(numSharedObject, 0, nPages);
+ memset(numSharedObject, 0, nPages * sizeof(Guint));
nSharedGroups = 0;
groupLength = NULL;
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler