commit | f0a9c004825ab686270ee57260652cce25e61049 | [log] [tgz] |
---|---|---|
author | Yasuhiro Matsumoto <mattn.jp@gmail.com> | Mon Dec 05 21:55:55 2022 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Mon Dec 05 21:55:55 2022 +0000 |
tree | e1e2abb369c58ae0057276158931822f8d39f5e6 | |
parent | 25201016d5043954689a4c9f7833935294149404 [diff] [blame] |
patch 9.0.1015: without /dev/urandom srand() seed is too predictable Problem: Without /dev/urandom srand() seed is too predictable. Solution: Use micro seconds and XOR with process ID. (Yasuhiro Matsumoto, closes #11656)
diff --git a/src/version.c b/src/version.c index 9e4411e..a19d947 100644 --- a/src/version.c +++ b/src/version.c
@@ -696,6 +696,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1015, +/**/ 1014, /**/ 1013,