The branch master has been updated
       via  229bd12487f8576fc088dc4f641950ac33c62033 (commit)
      from  a34ac5b8b9c1a3281b4ee545c46177f485fb4949 (commit)


- Log -----------------------------------------------------------------
commit 229bd12487f8576fc088dc4f641950ac33c62033
Author: Matt Caswell <m...@openssl.org>
Date:   Mon Oct 10 16:53:11 2016 +0100

    Fix a double free in ca command line
    
    Providing a spkac file with no default section causes a double free.
    
    Thanks to Brian Carpenter for reporting this issue.
    
    Reviewed-by: Kurt Roeckx <k...@openssl.org>

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

Summary of changes:
 apps/ca.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/apps/ca.c b/apps/ca.c
index b95f2ef..b6ab00a 100644
--- a/apps/ca.c
+++ b/apps/ca.c
@@ -1912,7 +1912,6 @@ static int certify_spkac(X509 **xret, const char *infile, 
EVP_PKEY *pkey,
     sk = CONF_get_section(parms, "default");
     if (sk_CONF_VALUE_num(sk) == 0) {
         BIO_printf(bio_err, "no name/value pairs found in %s\n", infile);
-        CONF_free(parms);
         goto end;
     }
 
_____
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits

Reply via email to