Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Nov 1999 01:29:41 +0800
From:      Peter Wemm <peter@netplex.com.au>
To:        Bill Fumerola <billf@chc-chimes.com>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/lib/libc/stdlib malloc.3 
Message-ID:  <19991112172941.D6C711C6D@overcee.netplex.com.au>
In-Reply-To: Your message of "Fri, 12 Nov 1999 11:04:57 EST." <Pine.BSF.4.10.9911121104430.85606-100000@jade.chc-chimes.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
Bill Fumerola wrote:
> On Fri, 12 Nov 1999, Peter Wemm wrote:
> 
> >   Log:
> >   Go to a bit more trouble to make it absolutely clear that malloc(3)
> >   does not zero the allocated memory.
> 
> Unlike OpenBSD, which does. Ewww.

Not according to what I see on their cvsweb for malloc.[c3].  They zero
calloc() (as do we), but not malloc().  They recently had a change to
have calloc() not also zero the result from malloc() if malloc was already
in zero mode, but it isn't by default according to the source..  Now, if they
set the malloc options some other way by default then that's silly.

Cheers,
-Peter




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991112172941.D6C711C6D>