]> wimlib.net Git - wimlib/commit
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)
commit90f1e04a2a143876a4413577b25db60b5ba0fe97
tree338f282d37f5c9dd13a786cd4bee4ac4a493334c
parentbb3005f9b9fff1333900d8635ad9aeda1021eb94
Improve random number generation

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.
configure.ac
include/wimlib/guid.h
include/wimlib/util.h
src/mount_image.c
src/util.c
src/win32_apply.c
src/win32_replacements.c
src/write.c