summaryrefslogtreecommitdiff
path: root/share/misc
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2022-01-10 10:51:32 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2022-01-10 10:51:32 +0000
commit2995e5c60438da7c5cf25c25df285bfab8f4d3b5 (patch)
treed18ede85656bada98f83c8edbc0b905fc0e20b82 /share/misc
parentb41fd2fc4895b7e5fbbc3203dc7506d97ba6674a (diff)
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 'share/misc')
0 files changed, 0 insertions, 0 deletions