aboutsummaryrefslogtreecommitdiff
path: root/graphics/gd/files/patch-gd_gif_in.c
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/gd/files/patch-gd_gif_in.c')
-rw-r--r--graphics/gd/files/patch-gd_gif_in.c34
1 files changed, 0 insertions, 34 deletions
diff --git a/graphics/gd/files/patch-gd_gif_in.c b/graphics/gd/files/patch-gd_gif_in.c
deleted file mode 100644
index a034136a8611..000000000000
--- a/graphics/gd/files/patch-gd_gif_in.c
+++ /dev/null
@@ -1,34 +0,0 @@
-See:
-
- https://bugs.php.net/bug.php?id=75571
-
---- src/gd_gif_in.c 2017-08-30 07:05:54.000000000 -0400
-+++ src/gd_gif_in.c 2018-07-11 15:39:11.746181000 -0400
-@@ -336,9 +336,4 @@
- }
-
-- if(!im->colorsTotal) {
-- gdImageDestroy(im);
-- return 0;
-- }
--
- /* Check for open colors at the end, so
- * we can reduce colorsTotal and ultimately
-@@ -352,4 +347,9 @@
- }
-
-+ if(!im->colorsTotal) {
-+ gdImageDestroy(im);
-+ return 0;
-+ }
-+
- return im;
- }
-@@ -447,6 +447,5 @@
- GetCode_(gdIOCtx *fd, CODE_STATIC_DATA *scd, int code_size, int flag, int *ZeroDataBlockP)
- {
-- int i, j, ret;
-- unsigned char count;
-+ int i, j, ret, count;
-
- if(flag) {