From e301cd2a10195fd59606fce07e2f5b85d1c52813 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Thu, 18 Mar 2021 07:06:19 +0100 Subject: [PATCH] Fix as found in pull request #200 "Fix stack corruption when loading GIF" --- src/Fl_GIF_Image.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Fl_GIF_Image.cxx b/src/Fl_GIF_Image.cxx index 97adb23ce..411805f01 100644 --- a/src/Fl_GIF_Image.cxx +++ b/src/Fl_GIF_Image.cxx @@ -298,7 +298,7 @@ Fl_GIF_Image::Fl_GIF_Image(const char *infname) : Fl_Pixmap((char *const*)0) { if (CurCode == EOFCode) break; - uchar OutCode[1025]; // temporary array for reversing codes + uchar OutCode[4097]; // temporary array for reversing codes uchar *tp = OutCode; int i; if (CurCode < FreeCode) i = CurCode;