[openssl/openssl] 3a361c: provider: return error if buf too small when getti...
Yi Li
noreply at github.com
Fri May 12 08:36:07 UTC 2023
Branch: refs/heads/openssl-3.1
Home: https://github.com/openssl/openssl
Commit: 3a361c68a4493b03b9283f7f11372ef357aad910
https://github.com/openssl/openssl/commit/3a361c68a4493b03b9283f7f11372ef357aad910
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