summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2015-02-19 06:10:29 +0000
committerjsing <jsing@openbsd.org>2015-02-19 06:10:29 +0000
commitaab8a614f2e8e7c2655af4a7caaee2b550893d93 (patch)
tree4cc65e2688d5a3488eb4cfbf7eb70c284f005cf6 /lib/libc
parentremove errant reference to mq_enqueue in the mq_enlist description. (diff)
downloadwireguard-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