summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2023-03-11 15:50:14 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2023-03-11 15:50:14 +0000
commitb55f6d099e1d0aa5c8bc7989aad9e405f3d1e1e4 (patch)
tree962075d57e81a4ebde534015c00cc1784305e909 /share
parent57c815c8dcfe47595dc401bf0e72f25c0f752d2a (diff)
Fix double free after BIO_new_NDEF()
Once the asn_bio is prepended to the out chain, and before the asn1_cb() has done its thing, asn_bio needs to be popped off again on error. Failing to do this can cause write after frees or double frees when the out BIO is used after the function returned. Based on a very complicated diff by Matt Caswell and Viktor Dukhovni. This was part of the fixes in OpenSSL 1.1.1t. ok jsing
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions