[openssl-commits] [openssl] OpenSSL_1_0_2-stable update

bernd.edlinger at hotmail.de bernd.edlinger at hotmail.de
Sun Jul 2 17:08:37 UTC 2017


The branch OpenSSL_1_0_2-stable has been updated
       via  953a1665e2a3ea0423f3deb2a71972486d0ee61e (commit)
      from  0cfb422656b0807b23f63fccea0a12ab2bddbbb1 (commit)


- Log -----------------------------------------------------------------
commit 953a1665e2a3ea0423f3deb2a71972486d0ee61e
Author: Bernd Edlinger <bernd.edlinger at hotmail.de>
Date:   Sun Jul 2 12:32:47 2017 +0200

    Fix a memleak in ec_GFp_mont_group_set_curve.
    
    Reviewed-by: Rich Salz <rsalz at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/3828)

-----------------------------------------------------------------------

Summary of changes:
 crypto/ec/ecp_mont.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/crypto/ec/ecp_mont.c b/crypto/ec/ecp_mont.c
index b2de7fa..43c4330 100644
--- a/crypto/ec/ecp_mont.c
+++ b/crypto/ec/ecp_mont.c
@@ -247,6 +247,8 @@ int ec_GFp_mont_group_set_curve(EC_GROUP *group, const BIGNUM *p,
         BN_CTX_free(new_ctx);
     if (mont != NULL)
         BN_MONT_CTX_free(mont);
+    if (one != NULL)
+        BN_free(one);
     return ret;
 }
 


More information about the openssl-commits mailing list