Mail Archives: djgpp/1998/08/06/10:32:07
On Tue, 4 Aug 1998, Nate Eldredge wrote:
> > xorb %%al, %%al
>
> If you look at the context, it is obvious that that's correct instead of
> %%eax.
Thank you for confirming this.
> You might find it useful to compile `malloc' with -DRCHECK (think that's
> right). That turns on some redundancy checking, magic number bounding,
> etc.
In fact you might be amused to know that when I do that, the allocation
falls in the next bucket (twice as more bytes) due to the extra space
required for tagging the chunk. This causes the crash to go away, since
the offending array can still overwrite its bounds but not scrogg mallocs
tables!
- Raw text -