openssl/providers/implementations/keymgmt
Juergen Christ 235ef96049 Fix potential NULL pointer dereference
In EC key generation, if allocation of struct ec_gen_ctx fails, values
provided by parameters are copied into the context at represented by a NULL
pointer.  To fix this, prevent copy if allocation fails.

Signed-off-by: Juergen Christ <jchrist@linux.ibm.com>

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20055)
2023-01-17 17:37:55 +01:00
..
build.info Drop libimplementations.a 2021-05-07 10:17:23 +02:00
dh_kmgmt.c Fix the export routines to not return success if param alloc failed 2022-06-15 11:47:46 +01:00
dsa_kmgmt.c Fix the export routines to not return success if param alloc failed 2022-06-15 11:47:46 +01:00
ec_kmgmt_imexport.inc Fix copyrights 2022-02-03 13:56:38 +01:00
ec_kmgmt.c Fix potential NULL pointer dereference 2023-01-17 17:37:55 +01:00
ecx_kmgmt.c Stop raising ERR_R_MALLOC_FAILURE in most places 2022-10-05 14:02:03 +02:00
kdf_legacy_kmgmt.c Update copyright year 2022-05-03 13:34:51 +01:00
mac_legacy_kmgmt.c Stop raising ERR_R_MALLOC_FAILURE in most places 2022-10-05 14:02:03 +02:00
rsa_kmgmt.c Fix the export routines to not return success if param alloc failed 2022-06-15 11:47:46 +01:00