summaryrefslogtreecommitdiffstats
path: root/providers/implementations/exchange
diff options
context:
space:
mode:
authorslontis <shane.lontis@oracle.com>2021-09-02 16:39:21 +1000
committerTomas Mraz <tomas@openssl.org>2021-09-03 12:34:47 +0200
commit9d924c4fd4d901d5e698f221afc4c9fc6761940f (patch)
tree4e119b22598909bb7f3aee86f942d57f2d2320f5 /providers/implementations/exchange
parent443cd5b08cd1e3b86d6a6c8894f65757355819e2 (diff)
Fix double free in EVP_PKEY_CTX_dup()
If the internal operations dupctx() fails then a free is done (e.g. EVP_KEYEXCH_free()). If this is not set to NULL the EVP_PKEY_CTX_free() will do a double free. This was found by testing kdf_dupctx() in kdf_exch.c (Note this always fails since the internal KDF's do not have a dup method). Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/16495) (cherry picked from commit 85407b77543a2d4330dbb40f6b8520ea0894a716)
Diffstat (limited to 'providers/implementations/exchange')
0 files changed, 0 insertions, 0 deletions