|
|
I have a GIF image which repeatedly causes a "Stack corruption around OutCode" error in Fl_GIF_Image.cxx while running in Visual Studio.
After examining several GIF decode implementations, including one also derived from gif2ras
[see(https://www.unf.edu/public/cap6400/ychua/xv-2.21/xvgif.c)] I've determined that OutCode needs to be at least 4096, not the current 1024.
After changing the array size to 4097, the stack corruption no longer happens for the GIF image in question.
The GIF image which causes the error is attached in this ZIP [yes, it's SFW].
animu.ru-clannad-(2560x1920)-wallpaper-001.gif.zip
You can view, comment on, or merge this pull request online at:
https://github.com/fltk/fltk/pull/200
Commit Summary
- Fix stack corruption when loading GIF
File Changes
Patch Links:
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
[ Direct Link to Message ] | |
|
| |