Fix for rman [was: Re: [-CURRENT tinderbox] ...]

Kris Kennaway kris at
Wed Jul 16 05:55:24 PDT 2003

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!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :

More information about the freebsd-current mailing list