summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authortb <tb@openbsd.org>2019-04-13 18:04:05 +0000
committertb <tb@openbsd.org>2019-04-13 18:04:05 +0000
commit8a9e94f30d0d6c0aab8c6ebb72467056aaa7a3e2 (patch)
treebf6d5fb4cf649590a68624c2da93b4fd923c0c9a /sys/dev
parentrenable POOL_DEBUG (diff)
downloadwireguard-openbsd-8a9e94f30d0d6c0aab8c6ebb72467056aaa7a3e2.tar.xz
wireguard-openbsd-8a9e94f30d0d6c0aab8c6ebb72467056aaa7a3e2.zip
Avoid leak in SSL_dup_CA_list()
In the case that X509_NAME_dup() succeeds, but sk_X509_NAME_push() fails, name is leaked. The entire function is trying to be clever and therefore hard to follow. Let's do it the stupid but safe way. ok jsing
Diffstat (limited to 'sys/dev')
0 files changed, 0 insertions, 0 deletions