[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] [PATCH] random returns the same number on x86_64 a
From: |
Peter Bex |
Subject: |
Re: [Chicken-hackers] [PATCH] random returns the same number on x86_64 all the time |
Date: |
Wed, 29 Feb 2012 21:52:35 +0100 |
User-agent: |
Mutt/1.4.2.3i |
Hi again!
Of course, I forgot to update NEWS. Here's an additional patch.
I opted to err on the side of caution and add it under the heading
"Security fixes" again.
I know the manual states random shouldn't be used for security, but
obviously we're ignoring our own advice in core so we can't expect
everyone else to heed it.
Anyway, for low-security things random is fine, but this bug effective
disables all randomization if called with most-positive-fixnum, so
it could potentially have a security impact.
Cheers,
Peter
--
http://sjamaan.ath.cx
--
"The process of preparing programs for a digital computer
is especially attractive, not only because it can be economically
and scientifically rewarding, but also because it can be an aesthetic
experience much like composing poetry or music."
-- Donald Knuth
0001-Update-NEWS-with-random-procedure-update.patch
Description: Text document