summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509/x509_lib.c
diff options
context:
space:
mode:
authortb <>2024-01-25 08:10:14 +0000
committertb <>2024-01-25 08:10:14 +0000
commit5dba131564255a41a05639bf13a29f3e45bda18a (patch)
treeed7dd400581e84f39ec41de8540e465044bf34a6 /src/lib/libcrypto/x509/x509_lib.c
parent6db1ed1feaf59b64e81222f16bc861cdb38889ad (diff)
downloadopenbsd-5dba131564255a41a05639bf13a29f3e45bda18a.tar.gz
openbsd-5dba131564255a41a05639bf13a29f3e45bda18a.tar.bz2
openbsd-5dba131564255a41a05639bf13a29f3e45bda18a.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/lib/libcrypto/x509/x509_lib.c')
0 files changed, 0 insertions, 0 deletions