[openssl] openssl-3.0 update

bernd.edlinger at hotmail.de bernd.edlinger at hotmail.de
Thu Nov 4 15:55:36 UTC 2021


The branch openssl-3.0 has been updated
       via  7aa5f7439fe045527db63d2b3ad99135b15f467c (commit)
      from  145d5d18b5790ee8ff16d11dd1aea5a105eee0ec (commit)


- Log -----------------------------------------------------------------
commit 7aa5f7439fe045527db63d2b3ad99135b15f467c
Author: Bernd Edlinger <bernd.edlinger at hotmail.de>
Date:   Wed Nov 3 09:19:39 2021 +0100

    Fix a memory leak in ssl_create_cipher_list
    
    Reviewed-by: Paul Dale <pauli at openssl.org>
    Reviewed-by: Matt Caswell <matt at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/16954)
    
    (cherry picked from commit 3a069c1b0b4857b838186aeb55378195dfa50823)

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

Summary of changes:
 ssl/ssl_ciph.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ssl/ssl_ciph.c b/ssl/ssl_ciph.c
index dd22e57c59..be7a969071 100644
--- a/ssl/ssl_ciph.c
+++ b/ssl/ssl_ciph.c
@@ -1638,6 +1638,7 @@ STACK_OF(SSL_CIPHER) *ssl_create_cipher_list(SSL_CTX *ctx,
         }
 
         if (!sk_SSL_CIPHER_push(cipherstack, sslc)) {
+            OPENSSL_free(co_list);
             sk_SSL_CIPHER_free(cipherstack);
             return NULL;
         }


More information about the openssl-commits mailing list