[openssl] openssl-3.0 update
tomas at openssl.org
tomas at openssl.org
Thu Dec 16 11:42:22 UTC 2021
The branch openssl-3.0 has been updated
via 7a2e2f291badb58796d4fd3672f381f3e7a8323d (commit)
from bfbeb31d6d0dfed4029c91a416857e5e0f35fa93 (commit)
- Log -----------------------------------------------------------------
commit 7a2e2f291badb58796d4fd3672f381f3e7a8323d
Author: Peiwei Hu <jlu.hpw at foxmail.com>
Date: Wed Dec 15 14:53:53 2021 +0800
EC_POINT_hex2point: forget to free pt
Reviewed-by: Paul Dale <pauli at openssl.org>
Reviewed-by: Nicola Tuveri <nic.tuv at gmail.com>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17276)
(cherry picked from commit dd2fcc1f7c44c5fb5aa2d33aecdc699c7018ce01)
-----------------------------------------------------------------------
Summary of changes:
crypto/ec/ec_print.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/crypto/ec/ec_print.c b/crypto/ec/ec_print.c
index d791e15b48..ffe112052f 100644
--- a/crypto/ec/ec_print.c
+++ b/crypto/ec/ec_print.c
@@ -68,7 +68,7 @@ EC_POINT *EC_POINT_hex2point(const EC_GROUP *group,
len = strlen(hex) / 2;
oct_buf = OPENSSL_malloc(len);
if (oct_buf == NULL)
- return NULL;
+ goto err;
if (!OPENSSL_hexstr2buf_ex(oct_buf, len, &oct_buf_len, hex, '\0')
|| !EC_POINT_oct2point(group, pt, oct_buf, oct_buf_len, ctx))
More information about the openssl-commits
mailing list