diff options
author | 2015-02-19 06:10:29 +0000 | |
---|---|---|
committer | 2015-02-19 06:10:29 +0000 | |
commit | aab8a614f2e8e7c2655af4a7caaee2b550893d93 (patch) | |
tree | 4cc65e2688d5a3488eb4cfbf7eb70c284f005cf6 /lib/libc | |
parent | remove errant reference to mq_enqueue in the mq_enlist description. (diff) | |
download | wireguard-openbsd-aab8a614f2e8e7c2655af4a7caaee2b550893d93.tar.xz wireguard-openbsd-aab8a614f2e8e7c2655af4a7caaee2b550893d93.zip |
If BN_rand() or BN_pseudo_rand() are called with a NULL rnd argument,
BN_bin2bn() will helpfully allocate a BN which is then leaked. Avoid this
by explicitly checking for NULL at the start of the bnrand() function.
Fixes Coverity ID 78831.
ok miod@
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions