summaryrefslogtreecommitdiff
path: root/src/lib/libc
diff options
context:
space:
mode:
authortb <>2019-04-13 18:04:05 +0000
committertb <>2019-04-13 18:04:05 +0000
commit3d8cce08c8bebf3054e601a8c3dc21b4bd8fd790 (patch)
treed8f2d01f1dd24a36cfcc1a7d87d74cd8dba8d2b4 /src/lib/libc
parent0eabad513bdb13f3dc8134e8f7b37906897211df (diff)
downloadopenbsd-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