Improve random number generation
authorEric Biggers <ebiggers3@gmail.com>
Tue, 27 Dec 2016 02:27:29 +0000 (20:27 -0600)
committerEric Biggers <ebiggers3@gmail.com>
Tue, 27 Dec 2016 03:11:05 +0000 (21:11 -0600)
wimlib used rand() to generate random numbers, e.g. for GUIDs.  This was
neither cryptographically secure nor thread-safe.  Use getrandom(),
/dev/urandom, or RtlGenRandom() instead.


No differences found