summaryrefslogtreecommitdiff
path: root/src/lib/libtls/tls_init.3
diff options
context:
space:
mode:
authorjsing <>2015-02-19 06:10:29 +0000
committerjsing <>2015-02-19 06:10:29 +0000
commitb48cf8cc3375610db39211d1da5904ff311d75d8 (patch)
treea2bee07c521bf3d450b8d9880388795bf6bb56c2 /src/lib/libtls/tls_init.3
parent8ad720213befab5b57cf61e74b30f2150bee6153 (diff)
downloadopenbsd-b48cf8cc3375610db39211d1da5904ff311d75d8.tar.gz
openbsd-b48cf8cc3375610db39211d1da5904ff311d75d8.tar.bz2
openbsd-b48cf8cc3375610db39211d1da5904ff311d75d8.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 'src/lib/libtls/tls_init.3')
0 files changed, 0 insertions, 0 deletions