diff options
author | Matt Caswell <matt@openssl.org> | 2016-10-10 17:53:11 +0200 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-10-28 10:25:04 +0200 |
commit | 229bd12487f8576fc088dc4f641950ac33c62033 (patch) | |
tree | 2a4beba51ff9302d3f5988af2f80bc0f028ca5d1 /apps | |
parent | Add a test for BIO_read() returning 0 in SSL_read() (and also for write) (diff) | |
download | openssl-229bd12487f8576fc088dc4f641950ac33c62033.tar.xz openssl-229bd12487f8576fc088dc4f641950ac33c62033.zip |
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>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/ca.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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; } |