|
|
commit e301cd2a10195fd59606fce07e2f5b85d1c52813
Author: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
AuthorDate: Thu Mar 18 07:06:19 2021 +0100
Commit: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
CommitDate: Thu Mar 18 07:06:40 2021 +0100
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 src/Fl_GIF_Image.cxx src/Fl_GIF_Image.cxx
index 97adb23..411805f 100644
--- src/Fl_GIF_Image.cxx
+++ 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;
[ Direct Link to Message ] | |
|
| |