diff options
author | obache <obache> | 2008-03-29 04:03:41 +0000 |
---|---|---|
committer | obache <obache> | 2008-03-29 04:03:41 +0000 |
commit | 017598e94adfd2d417b92988637417843de08d4b (patch) | |
tree | e31d893bd2331d4690b1850fd78491ca3c1754d8 /print/xpdf | |
parent | 9fd11ce7b6021b4c9d49294bf88ad49407b67028 (diff) | |
download | pkgsrc-017598e94adfd2d417b92988637417843de08d4b.tar.gz |
Swith to vender supplied patch file xpdf-3.02pl1.patch.
Diffstat (limited to 'print/xpdf')
-rw-r--r-- | print/xpdf/patches/patch-ba | 25 |
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); |