diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 2009-11-14 12:33:33 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 2009-11-14 12:33:33 +0000 |
commit | cc415305a049ca523f2a8cf674009fa77c54fee6 (patch) | |
tree | 6cf30da0266c6ffa712f243cc23f3c1b5c4a4fb8 /editors/calligra/files/patch-koffice-xpdf-CVE-2007-3387.diff | |
parent | - Now fix to use this port on !i386. (diff) |
This commit was manufactured by cvs2svn to create tag 'RELEASE_8_0_0'.release/8.0.0
Diffstat (limited to 'editors/calligra/files/patch-koffice-xpdf-CVE-2007-3387.diff')
-rw-r--r-- | editors/calligra/files/patch-koffice-xpdf-CVE-2007-3387.diff | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/editors/calligra/files/patch-koffice-xpdf-CVE-2007-3387.diff b/editors/calligra/files/patch-koffice-xpdf-CVE-2007-3387.diff deleted file mode 100644 index ded0e07205a7..000000000000 --- a/editors/calligra/files/patch-koffice-xpdf-CVE-2007-3387.diff +++ /dev/null @@ -1,20 +0,0 @@ ---- filters/kword/pdf/xpdf/xpdf/Stream.cc -+++ filters/kword/pdf/xpdf/xpdf/Stream.cc -@@ -413,13 +413,11 @@ StreamPredictor::StreamPredictor(Stream - predLine = NULL; - ok = gFalse; - -- if (width <= 0 || nComps <= 0 || nBits <= 0 || -- nComps >= INT_MAX / nBits || -- width >= INT_MAX / nComps / nBits) -- return; -- - nVals = width * nComps; -- if (nVals * nBits + 7 <= 0) -+ if (width <= 0 || nComps <= 0 || nBits <= 0 || -+ nComps >= 4 || nBits > 16 || -+ width >= INT_MAX / nComps || -+ nVals >= (INT_MAX - 7) / nBits) - return; - - pixBytes = (nComps * nBits + 7) >> 3; |