summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ui/ui.h
diff options
context:
space:
mode:
authortb <>2023-03-10 11:55:38 +0000
committertb <>2023-03-10 11:55:38 +0000
commitabfe39df9437ad38571b78129c3a3a86a5cd6418 (patch)
tree8824c1d526c219d0ad09f979781779024eb52d3e /src/lib/libcrypto/ui/ui.h
parent4c05c0a31024777788d7b110368169a1a85eeb2c (diff)
downloadopenbsd-abfe39df9437ad38571b78129c3a3a86a5cd6418.tar.gz
openbsd-abfe39df9437ad38571b78129c3a3a86a5cd6418.tar.bz2
openbsd-abfe39df9437ad38571b78129c3a3a86a5cd6418.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/lib/libcrypto/ui/ui.h')
0 files changed, 0 insertions, 0 deletions