diff options
author | tb <> | 2022-01-10 10:51:31 +0000 |
---|---|---|
committer | tb <> | 2022-01-10 10:51:31 +0000 |
commit | 0af4f789497e3f3ba6818138f64585c080464044 (patch) | |
tree | e06f01c1949048520df738b0696be8e54d046570 /src/regress | |
parent | e6455ffc48d2de0b70e7d5f20d35cd4e78d121e7 (diff) | |
download | openbsd-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