summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_kex.c
diff options
context:
space:
mode:
authortb <>2022-01-10 10:51:31 +0000
committertb <>2022-01-10 10:51:31 +0000
commitb1042d763c8d1442a3bbd1098fe10bbb13206ca4 (patch)
treee06f01c1949048520df738b0696be8e54d046570 /src/lib/libssl/ssl_kex.c
parentbe9e6959fcd7a339f12f1570a179ccf30f61d5fe (diff)
downloadopenbsd-b1042d763c8d1442a3bbd1098fe10bbb13206ca4.tar.gz
openbsd-b1042d763c8d1442a3bbd1098fe10bbb13206ca4.tar.bz2
openbsd-b1042d763c8d1442a3bbd1098fe10bbb13206ca4.zip
Prevent a double free in EVP_MD_CTX_copy_ex()
NULL out two pointer values after memcpy() to avoid a double free. In the event that both in->pctx and in->md_data are non-NULL and the calloc() of out->md_data fails, a double free could occur. ok inoguchi jsing
Diffstat (limited to 'src/lib/libssl/ssl_kex.c')
0 files changed, 0 insertions, 0 deletions