Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Nov 1999 11:12:40 -0700
From:      Warner Losh <imp@village.org>
To:        Bill Fumerola <billf@chc-chimes.com>
Cc:        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:  <199911121812.LAA17860@harmony.village.org>
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> 
References:  <Pine.BSF.4.10.9911121104430.85606-100000@jade.chc-chimes.com>  

next in thread | previous in thread | raw e-mail | index | archive | help
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.

Warner


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?199911121812.LAA17860>