Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Apr 2001 12:42:57 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        "Andrey A. Chernov" <ache@nagual.pp.ru>
Cc:        Kris Kennaway <kris@obsecurity.org>, Garrett Wollman <wollman@khavrinen.lcs.mit.edu>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/lib/libc/stdlib rand.3 rand.c
Message-ID:  <20010424124257.B90739@xor.obsecurity.org>
In-Reply-To: <20010424233423.C9553@nagual.pp.ru>; from ache@nagual.pp.ru on Tue, Apr 24, 2001 at 11:34:24PM %2B0400
References:  <200104230229.f3N2TA082491@freefall.freebsd.org> <200104241743.NAA97478@khavrinen.lcs.mit.edu> <20010424220826.A85409@nagual.pp.ru> <20010424121555.D89819@xor.obsecurity.org> <20010424233423.C9553@nagual.pp.ru>

next in thread | previous in thread | raw e-mail | index | archive | help

--24zk1gE8NUlDmwG9
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Apr 24, 2001 at 11:34:24PM +0400, Andrey A. Chernov wrote:
> On Tue, Apr 24, 2001 at 12:15:55 -0700, Kris Kennaway wrote:
> > Could you give an example where it's difficult to replace rand() with
> > random() or arc4random()?  I've never encountered one.
>=20
> Of course, I mean not impossible :-) Is is as difficult as replacing many
> occurances in many files with examination of each of them, then keeping
> all that diffs somewhere and applying them for new releases again.
>=20
> This particular reason is minor and not important - other ones I mention
> are more important.

Well, actually this seemed to me to be the only plausible reason from
those you gave :-)

I expect this function will get basically zero usage, but on the other
hand it's not harming anyone..

Kris

--24zk1gE8NUlDmwG9
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE65ddAWry0BWjoQKURAmLSAJ0Yf48Lh9v98kDGYfX2x3CCKoRUZwCghj3+
X+7LVHVWDIfmzvWY22cyInc=
=I9f+
-----END PGP SIGNATURE-----

--24zk1gE8NUlDmwG9--

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?20010424124257.B90739>