Fix for rman [was: Re: [-CURRENT tinderbox] ...]
kris at obsecurity.org
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
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20030716/34275d0a/attachment-0001.bin
More information about the freebsd-current