[openssl/openssl] e4b84b: Fix undefined behaviour in EC_GROUP_new_from_ecpar...

bernd-edlinger noreply at reply.github.openssl.org
Tue May 24 09:48:13 UTC 2022


  Branch: refs/heads/OpenSSL_1_1_1-stable
  Home:   https://github.openssl.org/openssl/openssl
  Commit: e4b84b7514e5cbcbfc80e31b4ce609c7584e14bb
      https://github.openssl.org/openssl/openssl/commit/e4b84b7514e5cbcbfc80e31b4ce609c7584e14bb
  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>
(Merged from https://github.com/openssl/openssl/pull/18363)




More information about the openssl-commits mailing list