diff options
author | Nobuyoshi Nakada <[email protected]> | 2020-01-08 23:55:40 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2020-01-09 16:00:04 +0900 |
commit | 97485302db2d8c66e7f6a61e38e9d5dd32d1a8c9 (patch) | |
tree | a0fcad98ae2e687486dcb10ec05e9ecd56292416 /random.c | |
parent | b0e9db65c3f05e1443c2d8f4ca139182a771500c (diff) |
Also clear MT to initialize the siphash seed
Diffstat (limited to 'random.c')
-rw-r--r-- | random.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1479,6 +1479,7 @@ Init_RandomSeedCore(void) init_seed(&mt); explicit_bzero(initial_seed, DEFAULT_SEED_LEN); + explicit_bzero(&mt, sizeof(mt)); } static VALUE |