On Wed, Jul 16, 2003 at 03:05:06AM -0700, Marcel Moolenaar wrote:

> > Hmm, I'm not sure this is the same bug I was seeing, because mine went
> > away when I turned off malloc debugging.
> 
> Without malloc debugging the chance that the allocated memory has
> zeroes is large(r). Going past the terminating '\0' if it's followed
> by another one then hides the bug. With J, malloc() makes sure the
> allocated memory is not zero and thus exposes the bug.

Sounds plausible.  Good catch!

Kris

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to