diff options
author | tb <> | 2019-04-13 18:04:05 +0000 |
---|---|---|
committer | tb <> | 2019-04-13 18:04:05 +0000 |
commit | 3d8cce08c8bebf3054e601a8c3dc21b4bd8fd790 (patch) | |
tree | d8f2d01f1dd24a36cfcc1a7d87d74cd8dba8d2b4 /src/lib/libc | |
parent | 0eabad513bdb13f3dc8134e8f7b37906897211df (diff) | |
download | openbsd-3d8cce08c8bebf3054e601a8c3dc21b4bd8fd790.tar.gz openbsd-3d8cce08c8bebf3054e601a8c3dc21b4bd8fd790.tar.bz2 openbsd-3d8cce08c8bebf3054e601a8c3dc21b4bd8fd790.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 'src/lib/libc')
0 files changed, 0 insertions, 0 deletions