diff options
author | tb <> | 2024-01-25 08:10:14 +0000 |
---|---|---|
committer | tb <> | 2024-01-25 08:10:14 +0000 |
commit | f33f863f9b989e14a92b65e7d8c585533a3b70d6 (patch) | |
tree | ed7dd400581e84f39ec41de8540e465044bf34a6 /src/usr.bin/openssl/dsa.c | |
parent | 5048b594fb9cd050c4d5d8bb7a9c9bad8865a171 (diff) | |
download | openbsd-f33f863f9b989e14a92b65e7d8c585533a3b70d6.tar.gz openbsd-f33f863f9b989e14a92b65e7d8c585533a3b70d6.tar.bz2 openbsd-f33f863f9b989e14a92b65e7d8c585533a3b70d6.zip |
Fix a memleak and a double free in newpass_p12()
If the allocation of newsafes fails, asafes is leaked. And if the
ASN1_OCTET_STRING_new() after the freeing of asafes fails, asafes is
freed a second time.
ok jsing
Diffstat (limited to 'src/usr.bin/openssl/dsa.c')
0 files changed, 0 insertions, 0 deletions