[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnurl] 04/254: openssl: fix memory leak in servercert
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnurl] 04/254: openssl: fix memory leak in servercert |
Date: |
Sat, 17 Jun 2017 16:50:36 +0200 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to annotated tag gnurl-7.54.1
in repository gnurl.
commit da2af5c04dee9d0e16c02b468494f386ac69e837
Author: Daniel Stenberg <address@hidden>
AuthorDate: Thu Apr 20 15:46:03 2017 +0200
openssl: fix memory leak in servercert
... when failing to get the server certificate.
---
lib/vtls/openssl.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/vtls/openssl.c b/lib/vtls/openssl.c
index 58a014a4d..52ebe671a 100644
--- a/lib/vtls/openssl.c
+++ b/lib/vtls/openssl.c
@@ -2819,6 +2819,7 @@ static CURLcode servercert(struct connectdata *conn,
connssl->server_cert = SSL_get_peer_certificate(connssl->handle);
if(!connssl->server_cert) {
+ BIO_free(mem);
if(!strict)
return CURLE_OK;
--
To stop receiving notification emails like this one, please contact
address@hidden
- [GNUnet-SVN] [gnurl] annotated tag gnurl-7.54.1 created (now 63a6b023e), gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 01/254: src/Makefile.am: avoid explicit $<, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 05/254: tests: remove the html and PDF versions from the tarball, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 04/254: openssl: fix memory leak in servercert,
gnunet <=
- [GNUnet-SVN] [gnurl] 03/254: Revert "src/Makefile.am: avoid explicit $<", gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 27/254: examples: ftpuploadfrommem.c, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 02/254: bump: start working on next release, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 28/254: url: declare get_protocol_family() static, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 62/254: transfer: fix minor buffer_size mistake, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 40/254: curl_rtmp: fix missing-variable-declarations warnings, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 49/254: getpart: use correct variable type, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 13/254: llist: fix a comment after cbae73e1dd9, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 11/254: multi: clarify condition in curl_multi_wait, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 08/254: llist: no longer uses malloc, gnunet, 2017/06/17