Re: KRandom regression + fix

2016-05-05 Thread Kevin Kofler
Albert Astals Cid wrote: > From my "i know nothing about random numbers", i guess it's hard to write > a unit test for a sequente of random numbers, you can get ten "3" in a row > and it's still a valid random sequence. https://xkcd.com/221/ ;-) Kevin Kofler

Re: KRandom regression + fix

2016-04-27 Thread Michael Pyne
On Thu, April 28, 2016 00:18:05 Frederik Schwarzer wrote: > Am 27.04.2016 23:45 schrieb Albert Astals Cid: > > El dimecres, 27 d’abril de 2016, a les 11:42:46 CEST, Frederik Schwarzer va escriure: > >> Since I am neither a core developer (just maintaining a game which was > >> beaten by the conseq

Re: KRandom regression + fix

2016-04-27 Thread Frederik Schwarzer
Am 27.04.2016 23:45 schrieb Albert Astals Cid: El dimecres, 27 d’abril de 2016, a les 11:42:46 CEST, Frederik Schwarzer va escriure: Am 27.04.2016 08:48 schrieb Johannes Huber: > thanks for the patch. When i read "randon numbers were predictable" > instantly > a alarm bell rings in my head.

Re: KRandom regression + fix

2016-04-27 Thread Albert Astals Cid
El dimecres, 27 d’abril de 2016, a les 11:42:46 CEST, Frederik Schwarzer va escriure: > Am 27.04.2016 08:48 schrieb Johannes Huber: > > Hi Johannes, > > >> KRandom saw a regression in KCoreAddon's 5.21.0 release, which impacts > >> a > >> wide range of applications and use cases. Since the rand(

Re: KRandom regression + fix

2016-04-27 Thread Ivan Čukić
If used for crypto, it is a security issue. Now, while I don't expect anyone who implements the crypto stuff to use KRandom, I do agree that KRandom docs should explicitly state this. Cheers, Ivan

Re: KRandom regression + fix

2016-04-27 Thread Frederik Schwarzer
Am 27.04.2016 08:48 schrieb Johannes Huber: Hi Johannes, KRandom saw a regression in KCoreAddon's 5.21.0 release, which impacts a wide range of applications and use cases. Since the rand() was not seeded, the numbers generated were predictable, which is ugly in games and probably alarming for