[openssl/openssl] 094304: Fix undefined behaviour in EC_GROUP_new_from_ecpar...
bernd-edlinger
noreply at reply.github.openssl.org
Tue May 24 09:44:14 UTC 2022
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 <bernd.edlinger at hotmail.de>
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 <matt at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Paul Dale <pauli at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18365)
(cherry picked from commit 97de6145851922a33f7afd9c308adfc1b2e5732b)
More information about the openssl-commits
mailing list