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 <kurt@openssl.org>
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 @@ 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; }