openssl/crypto/evp
Matt Caswell 357bccc8ba Fix a leak in EVP_DigestInit_ex()
If an EVP_MD_CTX is reused then memory allocated and stored in md_data
can be leaked unless the EVP_MD's cleanup function is called.

Fixes #17149

Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/17255)
2022-01-10 16:38:35 +00:00
..
asymcipher.c fix some code with obvious wrong coding style 2021-10-28 13:10:46 +10:00
bio_b64.c
bio_enc.c
bio_md.c
bio_ok.c
build.info
c_allc.c
c_alld.c
cmeth_lib.c
ctrl_params_translate.c Fix typos 2022-01-05 12:37:20 +01:00
dh_ctrl.c
dh_support.c
digest.c Fix a leak in EVP_DigestInit_ex() 2022-01-10 16:38:35 +00:00
dsa_ctrl.c
e_aes_cbc_hmac_sha1.c
e_aes_cbc_hmac_sha256.c
e_aes.c fix some code with obvious wrong coding style 2021-10-28 13:10:46 +10:00
e_aria.c fix some code with obvious wrong coding style 2021-10-28 13:10:46 +10:00
e_bf.c
e_camellia.c fix some code with obvious wrong coding style 2021-10-28 13:10:46 +10:00
e_cast.c
e_chacha20_poly1305.c fix some code with obvious wrong coding style 2021-10-28 13:10:46 +10:00
e_des3.c
e_des.c
e_idea.c fix some code with obvious wrong coding style 2021-10-28 13:10:46 +10:00
e_null.c
e_old.c
e_rc2.c
e_rc4_hmac_md5.c
e_rc4.c
e_rc5.c Address coverity 1493382 argument cannot be negative 2021-11-08 08:55:32 +10:00
e_seed.c fix some code with obvious wrong coding style 2021-10-28 13:10:46 +10:00
e_sm4.c
e_xcbc_d.c
ec_ctrl.c
ec_support.c
encode.c
evp_cnf.c
evp_enc.c
evp_err.c
evp_fetch.c CORE: Encure that cached fetches can be done per provider 2021-10-27 12:41:15 +02:00
evp_key.c
evp_lib.c avoid a NULL dereference when getting digest 2021-11-07 22:01:38 +01:00
evp_local.h EVP: Add internal functions to fetch type specific EVP methods from provider 2021-10-27 12:41:12 +02:00
evp_pbe.c
evp_pkey.c
evp_rand.c
evp_utils.c
exchange.c EVP_PKEY_derive_set_peer_ex: Export the peer key to proper keymgmt 2022-01-10 17:31:57 +01:00
kdf_lib.c
kdf_meth.c
kem.c CORE: Encure that cached fetches can be done per provider 2021-10-27 12:41:15 +02:00
keymgmt_lib.c EVP: Reverse the fetch logic in all pkey using functionality 2021-10-27 12:41:12 +02:00
keymgmt_meth.c EVP: Add evp_keymgmt_fetch_from_prov() 2021-10-27 12:41:10 +02:00
legacy_blake2.c
legacy_md2.c
legacy_md4.c
legacy_md5_sha1.c
legacy_md5.c
legacy_mdc2.c
legacy_meth.h
legacy_ripemd.c
legacy_sha.c
legacy_wp.c
m_null.c
m_sigver.c Fix typos 2022-01-05 12:37:20 +01:00
mac_lib.c Enforce a size check in EVP_MAC_final() 2021-10-22 08:43:26 +01:00
mac_meth.c
names.c
p5_crpt2.c
p5_crpt.c
p_dec.c
p_enc.c
p_legacy.c
p_lib.c Fix EVP_PKEY_eq() to be possible to use with strictly private keys 2021-12-13 07:52:53 +01:00
p_open.c
p_seal.c
p_sign.c
p_verify.c
pbe_scrypt.c
pmeth_check.c
pmeth_gn.c EVP_PKEY_fromdata(): Do not return newly allocated pkey on failure 2022-01-07 09:51:04 +01:00
pmeth_lib.c fix some code with obvious wrong coding style 2021-10-28 13:10:46 +10:00
signature.c CORE: Encure that cached fetches can be done per provider 2021-10-27 12:41:15 +02:00