summarylogtreecommitdiffstats
path: root/seed.patch
AgeCommit message (Collapse)Author
2017-04-04Add patch which doesn't use the time as seedNarrat
This program uses srand/rand which is a pseudo rng. For non crypto operations this may be enough and is still used. Especially initializing the srand() call with time(). But as dinghy pointed out this is a risky behaviour. The added patch replaces time() with an actual random value, but it is still the same PRNG! Still not good. Additionally it requires glibc-2.25