aboutsummaryrefslogtreecommitdiff
path: root/editors/koffice-kde4/files/patch-koffice-xpdf-CVE-2007-3387.diff
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2008-11-19 10:43:57 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2008-11-19 10:43:57 +0000
commitf982be45e81588a27383cd1a3eb12789b8498904 (patch)
tree07be283d015b2c39f95e655cb7328ff355bc47fa /editors/koffice-kde4/files/patch-koffice-xpdf-CVE-2007-3387.diff
parent856c5bf9f133ae5d553d972d5a940586d3f56048 (diff)
This commit was manufactured by cvs2svn to create tag 'RELEASE_6_4_0'.release/6.4.0
Notes
Notes: svn path=/head/; revision=223035 svn path=/tags/RELEASE_6_4_0/; revision=223036; tag=release/6.4.0
Diffstat (limited to 'editors/koffice-kde4/files/patch-koffice-xpdf-CVE-2007-3387.diff')
-rw-r--r--editors/koffice-kde4/files/patch-koffice-xpdf-CVE-2007-3387.diff20
1 files changed, 0 insertions, 20 deletions
diff --git a/editors/koffice-kde4/files/patch-koffice-xpdf-CVE-2007-3387.diff b/editors/koffice-kde4/files/patch-koffice-xpdf-CVE-2007-3387.diff
deleted file mode 100644
index ded0e07205a7..000000000000
--- a/editors/koffice-kde4/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;