diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2023-03-10 11:55:39 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2023-03-10 11:55:39 +0000 |
commit | 3bfab15f4911dc67524896cb70d97b72c71ff0a0 (patch) | |
tree | 9ab50eda157feaafdac4918475ac86e8839ba4ec /usr.sbin/rpki-client/roa.c | |
parent | 13260ee971a526d5f5c026521be274ac56b6f1e5 (diff) |
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 'usr.sbin/rpki-client/roa.c')
0 files changed, 0 insertions, 0 deletions