CVSROOT: /cvs Module name: src Changes by: [email protected] 2022/01/10 03:51:31
Modified files:
lib/libcrypto/evp: digest.c
Log message:
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
