[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [GNU Crypto] Ent bug, Version 2.0.1
From: |
Casey Marshall |
Subject: |
Re: [GNU Crypto] Ent bug, Version 2.0.1 |
Date: |
Mon, 15 Mar 2004 21:59:18 -0800 |
User-agent: |
Gnus/5.1002 (Gnus v5.10.2) Emacs/21.2 (gnu/linux) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
>>>>> "Karsten" == Karsten Tinnefeld <address@hidden> writes:
Karsten> Dear gnu-crypto-developers: the Ent tool to determine basic
Karsten> statistical parameters of an RNG seems to have a little
Karsten> effect: once it examines the distribution of a generator
Karsten> which delivers a Chi2-Value of exactly .5, the for-loop in
Karsten> line 332 of Ent.java will never be broken and the array
Karsten> CHI_SQUARE_P will be accessed at the (illegal) position
Karsten> CHI_SQUARE_P[0][-1].
Karsten> Adding a line before line 337, saying { if (i < 0) i = 0; }
Karsten> cures the problem.
Ok. Fixed in CVS, will appear in 2.0.2, which will likely be released
sometime soon.
Cheers,
- --
Casey Marshall || address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.7 <http://mailcrypt.sourceforge.net/>
iD8DBQFAVpexgAuWMgRGsWsRAnGyAJ0bWSnDdO1gibYM23SvUJRuscAB0ACeL5Su
mdsdQ7HGPSwYZ5Hsg3fpl88=
=pSvW
-----END PGP SIGNATURE-----