>>>> On 22 Oct 1999, Gunnar Evermann
<ge204(a)eng.cam.ac.uk> said:
Gunnar> I have got another one:
Gunnar>
http://www.xemacs.org/list-archives/xemacs-patches/9901/msg00039.html
Gunnar> this is REALLY old but was never applied to 21.0 or 21.1 for
Gunnar> some reason. The patch is against something like 21.2.8 but it
Gunnar> should be easy enough to adapt.
Gunnar> I only realised we missed this when working on a new 21.1.7
Gunnar> bug report on c.e.x.
Here's the patchlet I generated and applied. I did not investigate
why the original patch did not apply cleanly.
1999-10-22 Gunnar Evermann <ge204(a)eng.cam.ac.uk>
* glyphs-eimage.c (gif_instantiate): Correct handling of
interlaced gifs to avoid writing past the end of the eimage
buffer.
--- src/glyphs-eimage.c~ Wed Sep 9 20:07:03 1998
+++ src/glyphs-eimage.c Fri Oct 22 07:59:08 1999
@@ -701,7 +701,7 @@
if (interlace)
if (row >= height) {
row = InterlacedOffset[++pass];
- while (row > height)
+ while (row >= height)
row = InterlacedOffset[++pass];
}
eip = unwind.eimage + (row * width * 3);