aboutsummaryrefslogtreecommitdiff
path: root/graphics/kdegraphics4/files
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/kdegraphics4/files')
-rw-r--r--graphics/kdegraphics4/files/patch-kfile-plugins::exr::kfile_exr.cpp25
-rw-r--r--graphics/kdegraphics4/files/patch-post-3.5.7-kdegraphics-CVE-2007-3387.diff17
2 files changed, 0 insertions, 42 deletions
diff --git a/graphics/kdegraphics4/files/patch-kfile-plugins::exr::kfile_exr.cpp b/graphics/kdegraphics4/files/patch-kfile-plugins::exr::kfile_exr.cpp
deleted file mode 100644
index 112a5f5f2e67..000000000000
--- a/graphics/kdegraphics4/files/patch-kfile-plugins::exr::kfile_exr.cpp
+++ /dev/null
@@ -1,25 +0,0 @@
---- branches/KDE/3.5/kdegraphics/kfile-plugins/exr/kfile_exr.cpp 2005/09/29 14:33:08 465369
-+++ kfile-plugins/exr/kfile_exr.cpp 2007/08/22 12:19:02 703387
-@@ -32,6 +32,7 @@
- #include <ImfVecAttribute.h>
- #include <ImfPreviewImage.h>
- #include <ImfVersion.h>
-+#include <ImfCRgbaFile.h>
-
- #include <iostream>
-
-@@ -226,7 +227,14 @@
- qcapDateString.setLength(capDateString.size());
- appendItem( stdgroup, "Capture Date", qcapDateString );
- }
-+ // This define was introduced in EXR 1.6.0
-+#ifndef IMF_B44_COMPRESSION
-+ // This is the 1.4 and earlier version
- if ( hasutcOffset(h) ) {
-+#else
-+ // This is the 1.6.0 and later version
-+ if ( hasUtcOffset(h) ) {
-+#endif
- QString UTCOffset;
- if (utcOffset(h)>0.0) {
- UTCOffset.append(QString("%1").arg(utcOffset(h)/3600, 0, 'f', 1));
diff --git a/graphics/kdegraphics4/files/patch-post-3.5.7-kdegraphics-CVE-2007-3387.diff b/graphics/kdegraphics4/files/patch-post-3.5.7-kdegraphics-CVE-2007-3387.diff
deleted file mode 100644
index e28add87e275..000000000000
--- a/graphics/kdegraphics4/files/patch-post-3.5.7-kdegraphics-CVE-2007-3387.diff
+++ /dev/null
@@ -1,17 +0,0 @@
-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;