Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Oct 1999 10:02:00 -0600
From:      Greg Lehey <grog@lemis.com>
To:        Sheldon Hearn <sheldonh@freebsd.org>, cvs-committers@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/usr.sbin/vipw vipw.c
Message-ID:  <19991025100200.60989@mojave.worldwide.lemis.com>
In-Reply-To: <199910250946.CAA81874@freefall.freebsd.org>; from Sheldon Hearn on Mon, Oct 25, 1999 at 02:46:59AM -0700
References:  <199910250946.CAA81874@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday, 25 October 1999 at  2:46:59 -0700, Sheldon Hearn wrote:
> sheldonh    1999/10/25 02:46:59 PDT
>
>   Modified files:
>     usr.sbin/vipw        vipw.c
>   Log:
>   Do not rely on malloc() to zero-fill allocated memory, since it is
>   not documented as doing so.  This fixes a potential segmentation
>   violation.

For performance reasons, I'd strongly hope that malloc() doesn't clear
memory.

Greg
--
Finger grog@lemis.com for PGP public key
See complete headers for address and phone numbers


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