[poppler] poppler/JBIG2Stream.cc
Albert Astals Cid
aacid at kemper.freedesktop.org
Sun Nov 4 05:04:27 PST 2007
poppler/JBIG2Stream.cc | 8 --------
1 file changed, 8 deletions(-)
New commits:
commit 34a90b35998b65539cf1e8f09194d45db71064a1
Author: Albert Astals Cid <aacid at kde.org>
Date: Sun Nov 4 14:03:35 2007 +0100
Remove duplicate checking
diff --git a/poppler/JBIG2Stream.cc b/poppler/JBIG2Stream.cc
index 349514a..5801489 100644
--- a/poppler/JBIG2Stream.cc
+++ b/poppler/JBIG2Stream.cc
@@ -2375,14 +2375,6 @@ void JBIG2Stream::readHalftoneRegionSeg(Guint segNum, GBool imm,
error(getPos(), "Bad grid size in JBIG2 halftone segment");
return;
}
- if (w == 0 || h == 0 || w >= INT_MAX / h) {
- error(getPos(), "Bad bitmap size in JBIG2 halftone segment");
- return;
- }
- if (gridH == 0 || gridW >= INT_MAX / gridH) {
- error(getPos(), "Bad grid size in JBIG2 halftone segment");
- return;
- }
// get pattern dictionary
if (nRefSegs != 1) {
More information about the poppler
mailing list