diff options
author | jsing <> | 2019-03-24 12:04:12 +0000 |
---|---|---|
committer | jsing <> | 2019-03-24 12:04:12 +0000 |
commit | e83f10cba6ec91cbb07347b0ea2803df5daed8bf (patch) | |
tree | edde61447761640e07971b6f2fd33a7bbf345548 /src/lib/libc/crypt/arc4random.c | |
parent | 7453849d3118bad7f9d534a63aa2fd9f4de1b5a8 (diff) | |
download | openbsd-e83f10cba6ec91cbb07347b0ea2803df5daed8bf.tar.gz openbsd-e83f10cba6ec91cbb07347b0ea2803df5daed8bf.tar.bz2 openbsd-e83f10cba6ec91cbb07347b0ea2803df5daed8bf.zip |
Cast nonce bytes to avoid undefined behaviour when left shifting.
Reported by oss-fuzz, fixes issue #13805.
ok beck@ tb@
Diffstat (limited to 'src/lib/libc/crypt/arc4random.c')
0 files changed, 0 insertions, 0 deletions