Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Feb 2003 00:55:40 +0300
From:      "Andrey A. Chernov" <ache@nagual.pp.ru>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        Tim Robbins <tjr@FreeBSD.ORG>, current@FreeBSD.ORG
Subject:   Re: Final fix for 0 problem (was Re: rand() is broken)
Message-ID:  <20030202215539.GB68356@nagual.pp.ru>
In-Reply-To: <20030202210608.GA74910@rot13.obsecurity.org>
References:  <20030202090422.GA59750@nagual.pp.ru> <20030202091106.GA72723@rot13.obsecurity.org> <20030202102621.GA60900@nagual.pp.ru> <20030202123035.GB62977@nagual.pp.ru> <20030203001735.A30440@dilbert.robbins.dropbear.id.au> <20030202134225.GA63673@nagual.pp.ru> <20030202140223.GA63836@nagual.pp.ru> <20030202141605.GA64157@nagual.pp.ru> <20030202151049.GA64866@nagual.pp.ru> <20030202210608.GA74910@rot13.obsecurity.org>

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

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

On Sun, Feb 02, 2003 at 13:06:08 -0800, Kris Kennaway wrote:
> On Sun, Feb 02, 2003 at 06:10:49PM +0300, Andrey A. Chernov wrote:
> > So far, this is final variant for 0 problem fixing ready for committing=
.=20
> > Any objections?
>=20
> What tests have you run on this code to ensure it doesn't still have
> strange problems?

Uhm, I don't understand you well here. Any code can have strange problems,
nobody can be sure. Lets concentrate to this particular problem which I
call 0 problem. 0 seed is illegal by algorithm desing and BSD developers
try to made workaround, but their attempt was unsuccessful with result you
describe. Now successfull attempt comes. It not add any new bugs, because
value 0 simple mapped to another value (which could be any, but I choose
to not touch lower ones), which make generator non-stick at 0 again.

--=20
Andrey A. Chernov
http://ache.pp.ru/

--dDRMvlgZJXvWKvBx
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (FreeBSD)

iQCVAwUBPj2T2+JgpPLZnQjrAQGbXQP/ZjsjYO8KnJvnugb6mD7VemCLxaDZTlZh
GWiMHjWmXPyRloNJUbC6Pc8P7sCocG2ZxNB9hVCrG9rBC5aPAh04CXZyxgqVcd8s
9oM89HDzBFNFAjMlewGBOvfCpI8k386VBl7EFcsfe42oIEIGEEDuz1Ers8LtNnIt
IPFy0Fxl8bU=
=Hk/5
-----END PGP SIGNATURE-----

--dDRMvlgZJXvWKvBx--

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




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