[openssl-commits] [openssl] OpenSSL_1_0_2-stable update
Rich Salz
rsalz at openssl.org
Thu Feb 12 16:15:36 UTC 2015
The branch OpenSSL_1_0_2-stable has been updated
via 62bfff2d99a59bdc2ae8cb8764deab4ec026c70b (commit)
from 95929797a01eb4ad42694f1f848bdbb9decbcefe (commit)
- Log -----------------------------------------------------------------
commit 62bfff2d99a59bdc2ae8cb8764deab4ec026c70b
Author: Eric Dequin <Dequin_Eric at emc.com>
Date: Thu Feb 12 10:44:30 2015 -0500
Missing OPENSSL_free on error path.
Reviewed-by: Andy Polyakov <appro at openssl.org>
Reviewed-by: Richard Levitte <levitte at openssl.org>
(cherry picked from commit 1d2932de4cefcc200f175863a42c311916269981)
-----------------------------------------------------------------------
Summary of changes:
ssl/t1_enc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/ssl/t1_enc.c b/ssl/t1_enc.c
index 0f5baa6..e1a3607 100644
--- a/ssl/t1_enc.c
+++ b/ssl/t1_enc.c
@@ -650,6 +650,7 @@ int tls1_setup_key_block(SSL *s)
if ((p2 = (unsigned char *)OPENSSL_malloc(num)) == NULL) {
SSLerr(SSL_F_TLS1_SETUP_KEY_BLOCK, ERR_R_MALLOC_FAILURE);
+ OPENSSL_free(p1);
goto err;
}
#ifdef TLS_DEBUG
More information about the openssl-commits
mailing list