summaryrefslogtreecommitdiff
path: root/src/regress
diff options
context:
space:
mode:
authortb <>2022-01-10 10:51:31 +0000
committertb <>2022-01-10 10:51:31 +0000
commit0af4f789497e3f3ba6818138f64585c080464044 (patch)
treee06f01c1949048520df738b0696be8e54d046570 /src/regress
parente6455ffc48d2de0b70e7d5f20d35cd4e78d121e7 (diff)
downloadopenbsd-0af4f789497e3f3ba6818138f64585c080464044.tar.gz
openbsd-0af4f789497e3f3ba6818138f64585c080464044.tar.bz2
openbsd-0af4f789497e3f3ba6818138f64585c080464044.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/regress')
0 files changed, 0 insertions, 0 deletions