openssl/crypto/ec
Bernd Edlinger 97de614585 Fix undefined behaviour in EC_GROUP_new_from_ecparameters
This happens for instance with
fuzz/corpora/asn1/65cf44e85614c62f10cf3b7a7184c26293a19e4a
and causes the OPENSSL_malloc below to choke on the
zero length allocation request.

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18365)
2022-05-24 11:42:57 +02:00
..
asm Apply the correct Apache v2 license 2022-02-14 10:08:21 +01:00
curve448 Update copyright year 2022-05-03 13:34:51 +01:00
build.info Rename x86-32 assembly files from .s to .S. 2022-05-24 13:16:06 +10:00
curve25519.c Update copyright year 2022-05-03 13:34:51 +01:00
ec2_oct.c Update copyright year 2022-05-03 13:34:51 +01:00
ec2_smpl.c
ec_ameth.c
ec_asn1.c Fix undefined behaviour in EC_GROUP_new_from_ecparameters 2022-05-24 11:42:57 +02:00
ec_backend.c Update copyright year 2022-05-03 13:34:51 +01:00
ec_check.c
ec_curve.c
ec_cvt.c
ec_deprecated.c
ec_err.c Add error code for unsupported explicit parameters 2022-04-14 08:51:18 +02:00
ec_key.c Fix a memory leak in ec_key_simple_oct2priv 2022-05-24 11:30:42 +02:00
ec_kmeth.c
ec_lib.c Update copyright year 2022-05-03 13:34:51 +01:00
ec_local.h
ec_mult.c
ec_oct.c
ec_pmeth.c
ec_print.c
ecdh_kdf.c
ecdh_ossl.c
ecdsa_ossl.c
ecdsa_sign.c
ecdsa_vrf.c
eck_prn.c
ecp_mont.c
ecp_nist.c
ecp_nistp224.c
ecp_nistp256.c
ecp_nistp521.c
ecp_nistputil.c
ecp_nistz256_table.c
ecp_nistz256.c Update copyright year 2022-05-03 13:34:51 +01:00
ecp_oct.c
ecp_ppc.c
ecp_s390x_nistp.c Update copyright year 2022-05-03 13:34:51 +01:00
ecp_smpl.c
ecx_backend.c
ecx_backend.h
ecx_key.c
ecx_meth.c Update copyright year 2022-05-03 13:34:51 +01:00
ecx_s390x.c