[openssl/openssl] 97de61: Fix undefined behaviour in EC_GROUP_new_from_ecpar...
bernd-edlinger
noreply at reply.github.openssl.org
Tue May 24 09:43:45 UTC 2022
Branch: refs/heads/master
Home: https://github.openssl.org/openssl/openssl
Commit: 97de6145851922a33f7afd9c308adfc1b2e5732b
https://github.openssl.org/openssl/openssl/commit/97de6145851922a33f7afd9c308adfc1b2e5732b
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)
More information about the openssl-commits
mailing list