Aapo Vienamo de1338787f COMMON: Fix divide by zero in getRandomNumber()
Calling RandomSource::getRandomNumber() results in divide by zero
exception when called with max = 4294967295 as max + 1 overflows to zero
and the subsequent modulus operation causes the exception.

Certain game saves in Bladerunner trigger this.
2021-08-02 13:40:11 +03:00
..
2021-07-22 07:28:01 +03:00
2021-05-04 11:46:30 +03:00
2020-11-04 19:42:34 +00:00
2020-11-04 19:42:34 +00:00
2020-11-04 19:42:34 +00:00
2020-11-04 19:42:34 +00:00
2021-03-03 11:17:28 +00:00
2020-09-23 23:20:23 +02:00
2021-05-04 11:46:30 +03:00
2021-05-04 11:46:30 +03:00
2021-05-04 11:46:30 +03:00