Branch: refs/heads/openssl-3.0
Home: https://github.openssl.org/openssl/openssl
Commit: 094304c5ef120f69e2bd2ff297515a91f348ace1
https://github.openssl.org/openssl/openssl/commit/094304c5ef120f69e2bd2ff297515a91f348ace1
Author: Bernd Edlinger <[email protected]>
Date: 2022-05-24 (Tue, 24 May 2022)
Changed paths:
M crypto/ec/ec_asn1.c
Log Message:
-----------
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 <[email protected]>
Reviewed-by: Tomas Mraz <[email protected]>
Reviewed-by: Paul Dale <[email protected]>
(Merged from https://github.com/openssl/openssl/pull/18365)
(cherry picked from commit 97de6145851922a33f7afd9c308adfc1b2e5732b)