diff options
author | 2019-04-13 18:04:05 +0000 | |
---|---|---|
committer | 2019-04-13 18:04:05 +0000 | |
commit | 8a9e94f30d0d6c0aab8c6ebb72467056aaa7a3e2 (patch) | |
tree | bf6d5fb4cf649590a68624c2da93b4fd923c0c9a /sys/dev | |
parent | renable POOL_DEBUG (diff) | |
download | wireguard-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