summaryrefslogtreecommitdiff
path: root/src/usr.bin
diff options
context:
space:
mode:
authortb <>2023-03-10 11:55:38 +0000
committertb <>2023-03-10 11:55:38 +0000
commitccbb1a9bdc8ccf09bfe96b0d7e030089cd54e33b (patch)
tree8824c1d526c219d0ad09f979781779024eb52d3e /src/usr.bin
parent72196349be7c62460f3c81bbcf4f357d46ba91de (diff)
downloadopenbsd-ccbb1a9bdc8ccf09bfe96b0d7e030089cd54e33b.tar.gz
openbsd-ccbb1a9bdc8ccf09bfe96b0d7e030089cd54e33b.tar.bz2
openbsd-ccbb1a9bdc8ccf09bfe96b0d7e030089cd54e33b.zip
ASN.1 BIO: properly wire up prefix_free and suffix_free
If something goes wrong before the ASN.1 BIO state machine has passed both flushing states, asn1_bio_free() forgets to free the ndef_aux and the ex_arg since the prefix_free() and suffix_free callbacks are not called. This can lead to leaks, notably in streaming bios. Part of https://github.com/openssl/openssl/pull/15999 I have a regress covering this but it is not yet ready to land. ok beck jsing
Diffstat (limited to 'src/usr.bin')
0 files changed, 0 insertions, 0 deletions