Branch: refs/heads/master Home: https://github.openssl.org/openssl/openssl Commit: b9a86d5dd8b5bd33be42390bcbb5121fe0ae71a1 https://github.openssl.org/openssl/openssl/commit/b9a86d5dd8b5bd33be42390bcbb5121fe0ae71a1 Author: Zhou Qingyang <zhou1...@umn.edu> Date: 2022-06-02 (Thu, 02 Jun 2022)
Changed paths: M crypto/dh/dh_ameth.c M crypto/ec/ecx_meth.c M crypto/evp/p_dec.c M crypto/evp/p_enc.c Log Message: ----------- Fix possible null pointer dereference of evp_pkey_get_legacy() evp_pkey_get_legacy() will return NULL on failure, however several uses of it or its wrappers does not check the return value of evp_pkey_get_legacy(), which could lead to NULL pointer dereference. Fix those possible bugs by adding NULL checking. Reviewed-by: Shane Lontis <shane.lon...@oracle.com> Reviewed-by: Tomas Mraz <to...@openssl.org> (Merged from https://github.com/openssl/openssl/pull/17967)