[poppler] Branch 'poppler-0.14' - poppler/JBIG2Stream.cc
Albert Astals Cid
aacid at kemper.freedesktop.org
Tue Jun 29 13:45:35 PDT 2010
poppler/JBIG2Stream.cc | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 4c6ecdf1c65bfc9949aa0b9a7fd8cea36e36cc8d
Author: Albert Astals Cid <aacid at kde.org>
Date: Tue Jun 29 21:44:02 2010 +0100
bitmap can be null at this stage, check it isn't
diff --git a/poppler/JBIG2Stream.cc b/poppler/JBIG2Stream.cc
index 95123a6..f13f662 100644
--- a/poppler/JBIG2Stream.cc
+++ b/poppler/JBIG2Stream.cc
@@ -2461,6 +2461,9 @@ void JBIG2Stream::readPatternDictSeg(Guint segNum, Guint length) {
templ, gFalse, gFalse, NULL,
atx, aty, length - 7);
+ if (!bitmap)
+ return;
+
// create the pattern dict object
patternDict = new JBIG2PatternDict(segNum, grayMax + 1);
More information about the poppler
mailing list