tk/tk-gifcrash.patch

12 lines
238 B
Diff
Raw Normal View History

--- generic/tkImgGIF.c
+++ generic/tkImgGIF.c
@@ -995,7 +995,7 @@
*/
if (interlace) {
ypos += interlaceStep[pass];
- while (ypos >= height) {
+ while (ypos >= rows) {
pass++;
if (pass > 3) {
return TCL_OK;