[poppler] Branch 'poppler-0.6' - poppler/JBIG2Stream.cc
Albert Astals Cid
aacid at kemper.freedesktop.org
Sun Nov 4 05:04:32 PST 2007
poppler/JBIG2Stream.cc | 8 --------
1 file changed, 8 deletions(-)
New commits:
commit 272d9458904f37713214bd70ea77bb12a520c29e
Author: Albert Astals Cid <aacid at kde.org>
Date: Sun Nov 4 14:03:50 2007 +0100
Remove duplicate checking
diff --git a/poppler/JBIG2Stream.cc b/poppler/JBIG2Stream.cc
index d1eb99b..54ec88f 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