summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/imlib2/files')
-rw-r--r--media-libs/imlib2/files/imlib2-1.4.7-headers.patch26
-rw-r--r--media-libs/imlib2/files/imlib2-1.4.8-gif-oob.patch39
2 files changed, 0 insertions, 65 deletions
diff --git a/media-libs/imlib2/files/imlib2-1.4.7-headers.patch b/media-libs/imlib2/files/imlib2-1.4.7-headers.patch
deleted file mode 100644
index d2fba06c3ba..00000000000
--- a/media-libs/imlib2/files/imlib2-1.4.7-headers.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-https://bugs.gentoo.org/563732
-
-From 521573be219f27c7bfebb57d5b0b994fdb316721 Mon Sep 17 00:00:00 2001
-From: Chloe Kudryavtsev <chloe.kudryavtsev@gmail.com>
-Date: Sat, 24 Oct 2015 23:38:53 -0400
-Subject: [PATCH] add time.h include to common.h for time_t
-
----
- src/lib/common.h | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/src/lib/common.h b/src/lib/common.h
-index 798965f..9053826 100644
---- a/src/lib/common.h
-+++ b/src/lib/common.h
-@@ -9,6 +9,7 @@
- #include <config.h>
- #include <string.h>
- #include <math.h>
-+#include <time.h>
- #ifdef WITH_DMALLOC
- #include <dmalloc.h>
- #endif
---
-2.6.2
-
diff --git a/media-libs/imlib2/files/imlib2-1.4.8-gif-oob.patch b/media-libs/imlib2/files/imlib2-1.4.8-gif-oob.patch
deleted file mode 100644
index ed297579e22..00000000000
--- a/media-libs/imlib2/files/imlib2-1.4.8-gif-oob.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-From 16de244bd03d2f75da6508feb1ad9cb4e668e9dc Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Bernhard=20=C3=9Cbelacker?= <bernhardu@vr-web.de>
-Date: Sat, 2 Apr 2016 13:05:21 -0400
-Subject: [PATCH] gif: fix oob reads w/bad colormaps
-
-Verify the color map is inbounds before indexing with it.
-
-https://bugs.debian.org/785369
----
- src/modules/loaders/loader_gif.c | 13 ++++++++++---
- 1 file changed, 10 insertions(+), 3 deletions(-)
-
-diff --git a/src/modules/loaders/loader_gif.c b/src/modules/loaders/loader_gif.c
-index 638df59..7bdf29c 100644
---- a/src/modules/loaders/loader_gif.c
-+++ b/src/modules/loaders/loader_gif.c
-@@ -170,9 +170,16 @@ load(ImlibImage * im, ImlibProgressFunction progress, char progress_granularity,
- }
- else
- {
-- r = cmap->Colors[rows[i][j]].Red;
-- g = cmap->Colors[rows[i][j]].Green;
-- b = cmap->Colors[rows[i][j]].Blue;
-+ if (rows[i][j] < cmap->ColorCount)
-+ {
-+ r = cmap->Colors[rows[i][j]].Red;
-+ g = cmap->Colors[rows[i][j]].Green;
-+ b = cmap->Colors[rows[i][j]].Blue;
-+ }
-+ else
-+ {
-+ r = g = b = 0;
-+ }
- *ptr++ = (0xff << 24) | (r << 16) | (g << 8) | b;
- }
- per += per_inc;
---
-2.7.4
-