projects
/
platform
/
upstream
/
openconnect.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a9919b
)
OpenSSL: Free BIO leak in reload_pem_cert()
author
David Woodhouse
<David.Woodhouse@intel.com>
Tue, 12 Jun 2012 09:33:48 +0000
(10:33 +0100)
committer
David Woodhouse
<David.Woodhouse@intel.com>
Tue, 12 Jun 2012 09:33:48 +0000
(10:33 +0100)
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
openssl.c
patch
|
blob
|
history
diff --git
a/openssl.c
b/openssl.c
index
f454f65
..
fb73127
100644
(file)
--- a/
openssl.c
+++ b/
openssl.c
@@
-588,6
+588,7
@@
static int reload_pem_cert(struct openconnect_info *vpninfo)
return -EIO;
}
vpninfo->cert_x509 = PEM_read_bio_X509_AUX(b, NULL, NULL, NULL);
+ BIO_free(b);
if (!vpninfo->cert_x509)
goto err;