diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2022-01-10 10:51:32 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2022-01-10 10:51:32 +0000 |
commit | 2995e5c60438da7c5cf25c25df285bfab8f4d3b5 (patch) | |
tree | d18ede85656bada98f83c8edbc0b905fc0e20b82 /usr.bin/printf/Makefile | |
parent | b41fd2fc4895b7e5fbbc3203dc7506d97ba6674a (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 'usr.bin/printf/Makefile')
0 files changed, 0 insertions, 0 deletions