Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Feb 2003 14:21:02 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        "Andrey A. Chernov" <ache@nagual.pp.ru>
Cc:        Kris Kennaway <kris@obsecurity.org>, Tim Robbins <tjr@FreeBSD.ORG>, current@FreeBSD.ORG
Subject:   Re: Final fix for 0 problem (was Re: rand() is broken)
Message-ID:  <20030202222101.GA75656@rot13.obsecurity.org>
In-Reply-To: <20030202215539.GB68356@nagual.pp.ru>
References:  <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> <20030202215539.GB68356@nagual.pp.ru>

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

[-- Attachment #1 --]
On Mon, Feb 03, 2003 at 12:55:40AM +0300, Andrey A. Chernov wrote:
> 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. 
> > > Any objections?
> > 
> > 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.

If I understand correctly, this still doesn't solve the problem,
because any PRNG sequence that hits the "magic" value will still get
stuck there forever.

Kris

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+PZnMWry0BWjoQKURAgHnAKC8WnxkEyKTjYtnoI9jUKfaPru9SgCg9KsY
AfgIjxBsFYYuh0S8HvJo5Po=
=gwbT
-----END PGP SIGNATURE-----
help

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