In theory, the old code could also have corrupted Emacs internals,
though it'd be very unlikely.
+2011-07-13 Paul Eggert <eggert@cs.ucla.edu>
+
+ * alloc.c (gc_sweep): Don't read past end of array.
+ In theory, the old code could also have corrupted Emacs internals,
+ though it'd be very unlikely.
+
2011-07-12 Andreas Schwab <schwab@linux-m68k.org>
* character.c (Fcharacterp): Don't advertise optional ignored
int ilim = (lim + BITS_PER_INT - 1) / BITS_PER_INT;
/* Scan the mark bits an int at a time. */
- for (i = 0; i <= ilim; i++)
+ for (i = 0; i < ilim; i++)
{
if (cblk->gcmarkbits[i] == -1)
{