Cool quote picking can freeze when hardware random number generation is not working
authorArtem Zhmurov <zhmurov@gmail.com>
Fri, 9 Oct 2020 15:08:45 +0000 (15:08 +0000)
committerPaul Bauer <paul.bauer.q@gmail.com>
Fri, 9 Oct 2020 15:08:45 +0000 (15:08 +0000)
commit3491843372177f70cdecdaee206674978479a198
treef9297ee0506eb502764153a4cca3054b7a1a73d1
parentac2161005c658e06c05bd242a2009578ee8e2347
Cool quote picking can freeze when hardware random number generation is not working

The bug with hardware random number generation can cause picking of cool quotes to
freeze in an infinite loop on some Ryzen systems. This patch checks the system for
the bug and falls back to PRNGs.
src/gromacs/utility/coolstuff.cpp