summaryrefslogtreecommitdiff
path: root/print/xpdf
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2008-03-29 04:03:41 +0000
committerobache <obache@pkgsrc.org>2008-03-29 04:03:41 +0000
commit842916fea388a98197c156cbed414fbaa684b19c (patch)
treee31d893bd2331d4690b1850fd78491ca3c1754d8 /print/xpdf
parentb18cc0888002775d3b94d872b0cac8e40bb622f3 (diff)
downloadpkgsrc-842916fea388a98197c156cbed414fbaa684b19c.tar.gz
Swith to vender supplied patch file xpdf-3.02pl1.patch.
Diffstat (limited to 'print/xpdf')
-rw-r--r--print/xpdf/patches/patch-ba25
1 files changed, 0 insertions, 25 deletions
diff --git a/print/xpdf/patches/patch-ba b/print/xpdf/patches/patch-ba
deleted file mode 100644
index ae4bf485ca7..00000000000
--- a/print/xpdf/patches/patch-ba
+++ /dev/null
@@ -1,25 +0,0 @@
-$NetBSD: patch-ba,v 1.1 2007/08/02 14:54:34 drochner Exp $
-
---- xpdf/Stream.cc.orig 2007-02-27 23:05:52.000000000 +0100
-+++ xpdf/Stream.cc
-@@ -410,15 +410,13 @@ StreamPredictor::StreamPredictor(Stream
- ok = gFalse;
-
- nVals = width * nComps;
-- if (width <= 0 || nComps <= 0 || nBits <= 0 ||
-- nComps >= INT_MAX / nBits ||
-- width >= INT_MAX / nComps / nBits ||
-- nVals * nBits + 7 < 0) {
-- return;
-- }
- pixBytes = (nComps * nBits + 7) >> 3;
- rowBytes = ((nVals * nBits + 7) >> 3) + pixBytes;
-- if (rowBytes <= 0) {
-+ if (width <= 0 || nComps <= 0 || nBits <= 0 ||
-+ nComps > gfxColorMaxComps ||
-+ nBits > 16 ||
-+ width >= INT_MAX / nComps || // check for overflow in nVals
-+ nVals >= (INT_MAX - 7) / nBits) { // check for overflow in rowBytes
- return;
- }
- predLine = (Guchar *)gmalloc(rowBytes);