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

From: Kris Kennaway <kris_at_obsecurity.org>
Date: Wed, 16 Jul 2003 05:55:21 -0700
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

Received on Wed Jul 16 2003 - 03:55:23 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:15 UTC