diff options
author | 2014-04-14 07:18:05 +0000 | |
---|---|---|
committer | 2014-04-14 07:18:05 +0000 | |
commit | 054b3dabfd70ab247528d269ba8c02230322a7db (patch) | |
tree | 1ed8d41d99abc101f89ebd7d325e8106587a9800 /lib/libc/stdlib/malloc.c | |
parent | STANDARDS: note that make is optional (diff) | |
download | wireguard-openbsd-054b3dabfd70ab247528d269ba8c02230322a7db.tar.xz wireguard-openbsd-054b3dabfd70ab247528d269ba8c02230322a7db.zip |
Fix the following idiom in the following way:
arc4random_buf(seed, sizeof(seed));
RAND_seed(seed, sizeof(seed));
+ explicit_bzero(seed, sizeof(seed));
ok reyk@
Diffstat (limited to 'lib/libc/stdlib/malloc.c')
0 files changed, 0 insertions, 0 deletions