[openssl/openssl] 7e58f3: provider: return error if buf too small when getti...

Yi Li noreply at github.com
Fri May 12 08:36:21 UTC 2023


  Branch: refs/heads/openssl-3.0
  Home:   https://github.com/openssl/openssl
  Commit: 7e58f38dbf7f292f86f0813f699535668ce25371
      https://github.com/openssl/openssl/commit/7e58f38dbf7f292f86f0813f699535668ce25371
  Author: Yi Li <yi1.li at intel.com>
  Date:   2023-05-12 (Fri, 12 May 2023)

  Changed paths:
    M providers/implementations/keymgmt/ec_kmgmt.c
    M test/evp_extra_test.c

  Log Message:
  -----------
  provider: return error if buf too small when getting ec pubkey param

Fixes #20889

There was an incorrect value passed to EC_POINT_point2oct() for the
buffer size of the param passed-in.

Added testcases.

Signed-off-by: Yi Li <yi1.li at intel.com>

Reviewed-by: Paul Dale <pauli at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20890)

(cherry picked from commit 91070877adb905f51eb4b19b730d42fc257bae13)




More information about the openssl-commits mailing list