aboutsummaryrefslogtreecommitdiff
path: root/editors/calligra/files/patch-koffice-xpdf-CVE-2007-3387.diff
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2008-05-31 23:01:15 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2008-05-31 23:01:15 +0000
commita54fe1ca9c33931d7c4381a84ee11454f9831c08 (patch)
tree16cc7f849128603b27ba13f7bdb8ae11e1eadd30 /editors/calligra/files/patch-koffice-xpdf-CVE-2007-3387.diff
parentc7651500a041b224f401ba85fc192aac6ad83c1c (diff)
This commit was manufactured by cvs2svn to create tag 'RELEASE_5_EOL'.5-eol
Notes
Notes: svn path=/head/; revision=214069 svn path=/tags/RELEASE_5_EOL/; revision=214070; tag=5-eol
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.diff20
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;