diff options
author | Carsten Lohrke <carlo@gentoo.org> | 2007-07-30 18:05:10 +0000 |
---|---|---|
committer | Carsten Lohrke <carlo@gentoo.org> | 2007-07-30 18:05:10 +0000 |
commit | e2bb6b158a9826c7392fec1f014e261685133f2c (patch) | |
tree | 96b1d382f6bcbdba2489a491399f933b047f4ca8 /kde-base/kpdf/files | |
parent | Stable for HPPA (bug #187057). (diff) | |
download | gentoo-2-e2bb6b158a9826c7392fec1f014e261685133f2c.tar.gz gentoo-2-e2bb6b158a9826c7392fec1f014e261685133f2c.tar.bz2 gentoo-2-e2bb6b158a9826c7392fec1f014e261685133f2c.zip |
Fix for bug 187139.
(Portage version: 2.1.3_rc9)
Diffstat (limited to 'kde-base/kpdf/files')
-rw-r--r-- | kde-base/kpdf/files/digest-kpdf-3.5.7-r1 | 3 | ||||
-rw-r--r-- | kde-base/kpdf/files/post-3.5.7-kdegraphics-CVE-2007-3387.diff | 17 |
2 files changed, 20 insertions, 0 deletions
diff --git a/kde-base/kpdf/files/digest-kpdf-3.5.7-r1 b/kde-base/kpdf/files/digest-kpdf-3.5.7-r1 new file mode 100644 index 000000000000..ba24610e2ca5 --- /dev/null +++ b/kde-base/kpdf/files/digest-kpdf-3.5.7-r1 @@ -0,0 +1,3 @@ +MD5 eae753e80c5f8dd304e7fd0dca84ae67 kdegraphics-3.5.7.tar.bz2 7424976 +RMD160 ccf36f5c34a1d484f0878a42a51dc620c2bdfa71 kdegraphics-3.5.7.tar.bz2 7424976 +SHA256 5689882ade29d0f56e95783f1c3e443fd512ca8291bcb81aac60ac719a8dcdcc kdegraphics-3.5.7.tar.bz2 7424976 diff --git a/kde-base/kpdf/files/post-3.5.7-kdegraphics-CVE-2007-3387.diff b/kde-base/kpdf/files/post-3.5.7-kdegraphics-CVE-2007-3387.diff new file mode 100644 index 000000000000..e28add87e275 --- /dev/null +++ b/kde-base/kpdf/files/post-3.5.7-kdegraphics-CVE-2007-3387.diff @@ -0,0 +1,17 @@ +Index: kpdf/xpdf/xpdf/Stream.cc +=================================================================== +--- kpdf/xpdf/xpdf/Stream.cc (revision 689574) ++++ kpdf/xpdf/xpdf/Stream.cc (working copy) +@@ -411,9 +411,9 @@ StreamPredictor::StreamPredictor(Stream + + nVals = width * nComps; + if (width <= 0 || nComps <= 0 || nBits <= 0 || +- nComps >= INT_MAX / nBits || +- width >= INT_MAX / nComps / nBits || +- nVals * nBits + 7 < 0) { ++ nComps > gfxColorMaxComps || nBits > 16 || ++ width >= INT_MAX / nComps || ++ nVals >= (INT_MAX - 7) / nBits) { + return; + } + pixBytes = (nComps * nBits + 7) >> 3; |