summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Lohrke <carlo@gentoo.org>2007-07-30 18:05:53 +0000
committerCarsten Lohrke <carlo@gentoo.org>2007-07-30 18:05:53 +0000
commit8fd540117c7ff62b7bec2a29f5b2de38ba777066 (patch)
tree44b50febba4ccdb0a07741a4d091522b2a2815f4 /kde-base/kdegraphics/files
parentStable for HPPA (bug #187057). (diff)
downloadhistorical-8fd540117c7ff62b7bec2a29f5b2de38ba777066.tar.gz
historical-8fd540117c7ff62b7bec2a29f5b2de38ba777066.tar.bz2
historical-8fd540117c7ff62b7bec2a29f5b2de38ba777066.zip
Fix for bug 187139.
Package-Manager: portage-2.1.3_rc9
Diffstat (limited to 'kde-base/kdegraphics/files')
-rw-r--r--kde-base/kdegraphics/files/digest-kdegraphics-3.5.7-r13
-rw-r--r--kde-base/kdegraphics/files/post-3.5.7-kdegraphics-CVE-2007-3387.diff17
2 files changed, 20 insertions, 0 deletions
diff --git a/kde-base/kdegraphics/files/digest-kdegraphics-3.5.7-r1 b/kde-base/kdegraphics/files/digest-kdegraphics-3.5.7-r1
new file mode 100644
index 000000000000..ba24610e2ca5
--- /dev/null
+++ b/kde-base/kdegraphics/files/digest-kdegraphics-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/kdegraphics/files/post-3.5.7-kdegraphics-CVE-2007-3387.diff b/kde-base/kdegraphics/files/post-3.5.7-kdegraphics-CVE-2007-3387.diff
new file mode 100644
index 000000000000..e28add87e275
--- /dev/null
+++ b/kde-base/kdegraphics/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;