Subject: bug#22202: 24.5; SECURITY ISSUE -- Emacs Server vulnerable to random number generator attack on Windows systems

From: Eli Zaretskii <[email-masked]>
Date: Wed, 30 Dec 2015 22:56:29 +0200

> Date: Wed, 30 Dec 2015 20:47:40 +0000
> From: Richard Copley <[email-masked]>
> Cc: David Engster <[email-masked]>, [email-masked], 
> 	Demetri Obenour <[email-masked]>
> 
> Re performance: using CryptGenRandom to provide a seed for srand
> is enough to address Demetri's concern. For performance reasons,
> as you said, implementing random() with CryptGenRandom is
> potentially bad. I think random() itself should not be changed.

That'd be the worst of both worlds, IMO: a not-so-good PRNG with no
way whatsoever to get a repeatable sequence.  Am I right?