Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Nov 1999 19:34:39 +0100
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        Warner Losh <imp@village.org>
Cc:        Bill Fumerola <billf@chc-chimes.com>, Peter Wemm <peter@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/lib/libc/stdlib malloc.3 
Message-ID:  <6607.942431679@critter.freebsd.dk>
In-Reply-To: Your message of "Fri, 12 Nov 1999 11:12:40 MST." <199911121812.LAA17860@harmony.village.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <199911121812.LAA17860@harmony.village.org>, Warner Losh writes:
>In message <Pine.BSF.4.10.9911121104430.85606-100000@jade.chc-chimes.com> Bill Fumerola writes:
>: >   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.
>
>Checking the code, it appears that you can force it to do so, but the
>same is true of FreeBSD.  I can just imagine Theo's reaction to
>someone trying to commit the a change which would make malloc always
>bzero the buffer returned.

I can imagine two reactions, neither of which would appear sane to
me.

--
Poul-Henning Kamp             FreeBSD coreteam member
phk@FreeBSD.ORG               "Real hackers run -current on their laptop."
FreeBSD -- It will take a long time before progress goes too far!


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?6607.942431679>