aboutsummaryrefslogtreecommitdiffstats
path: root/main/sdl2_image/CVE-2017-14440.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/sdl2_image/CVE-2017-14440.patch')
-rw-r--r--main/sdl2_image/CVE-2017-14440.patch23
1 files changed, 0 insertions, 23 deletions
diff --git a/main/sdl2_image/CVE-2017-14440.patch b/main/sdl2_image/CVE-2017-14440.patch
deleted file mode 100644
index 49ab2b0323..0000000000
--- a/main/sdl2_image/CVE-2017-14440.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-# HG changeset patch
-# User Ryan C. Gordon <icculus@icculus.org>
-# Date 1516813224 18000
-# Node ID bfa08dc02b3c7b265ead6019f901f17f925570c3
-# Parent 97f7f01e0665b7555a0e5e9465799e80c8f59528
-lbm: Don't overflow static colormap buffer.
-
-diff -r 97f7f01e0665 -r bfa08dc02b3c IMG_lbm.c
---- a/IMG_lbm.c Wed Jan 24 01:45:04 2018 -0500
-+++ b/IMG_lbm.c Wed Jan 24 12:00:24 2018 -0500
-@@ -183,6 +183,11 @@
-
- if ( !SDL_memcmp( id, "CMAP", 4 ) ) /* palette ( Color Map ) */
- {
-+ if (size > sizeof (colormap)) {
-+ error="colormap size is too large";
-+ goto done;
-+ }
-+
- if ( !SDL_RWread( src, &colormap, size, 1 ) )
- {
- error="error reading CMAP chunk";
-