summaryrefslogtreecommitdiffstats
path: root/kde/kdegraphics/CVE-2010-2575.patch
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-10-22 21:02:30 +0200
committertnut <thierryn1 at hispeed dot ch>2010-10-22 21:02:30 +0200
commitc11c2322183a5eb7913246cf83a7034955ae0e52 (patch)
tree497cef5c08e8bdcaaccc1a08e91d7898284ca168 /kde/kdegraphics/CVE-2010-2575.patch
parent561ee58fa0023e0fc8c30feae5d8a09041fb28ac (diff)
downloadnutyx-extra-c11c2322183a5eb7913246cf83a7034955ae0e52.tar.gz
nutyx-extra-c11c2322183a5eb7913246cf83a7034955ae0e52.tar.bz2
nutyx-extra-c11c2322183a5eb7913246cf83a7034955ae0e52.tar.xz
nutyx-extra-c11c2322183a5eb7913246cf83a7034955ae0e52.zip
kdegraphics, port nettoye
Diffstat (limited to 'kde/kdegraphics/CVE-2010-2575.patch')
-rw-r--r--kde/kdegraphics/CVE-2010-2575.patch28
1 files changed, 0 insertions, 28 deletions
diff --git a/kde/kdegraphics/CVE-2010-2575.patch b/kde/kdegraphics/CVE-2010-2575.patch
deleted file mode 100644
index 5d4394b2a..000000000
--- a/kde/kdegraphics/CVE-2010-2575.patch
+++ /dev/null
@@ -1,28 +0,0 @@
---- okular/generators/plucker/unpluck/image.cpp (revision 1162413)
-+++ okular/generators/plucker/unpluck/image.cpp (working copy)
-@@ -289,8 +289,23 @@
- for (j = 0; j < bytes_per_row;) {
- incount = *palm_ptr++;
- inval = *palm_ptr++;
-- memset (rowbuf + j, inval, incount);
-- j += incount;
-+ if (incount + j <= bytes_per_row * width)
-+ {
-+ memset (rowbuf + j, inval, incount);
-+ j += incount;
-+ }
-+ else
-+ {
-+ free (rowbuf);
-+ free (lastrow);
-+ free (jpeg_row);
-+
-+ jpeg_destroy_compress (&cinfo);
-+
-+ fclose( outfile );
-+
-+ return false;
-+ }
- }
- }
- else if ((flags & PALM_IS_COMPRESSED_FLAG)