diff options
author | Daniel Stenberg <daniel@haxx.se> | 2010-03-02 13:41:18 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2010-03-02 13:41:18 +0000 |
commit | 6bf071df7ee6b5be66757ecdf01b1be1497df536 (patch) | |
tree | 4101847395458d4ba8eaf90d13c3e4cea05da119 | |
parent | 7c028a83324bae0e038865f34e8fccbe6d9146f0 (diff) |
- Andrei Benea filed bug report #2956698 and pointed out that the
CURLOPT_CERTINFO feature leaked memory due to a missing OpenSSL function
call. He provided the patch to fix it too.
http://curl.haxx.se/bug/view.cgi?id=2956698
-rw-r--r-- | CHANGES | 6 | ||||
-rw-r--r-- | RELEASE-NOTES | 3 | ||||
-rw-r--r-- | lib/ssluse.c | 1 |
3 files changed, 9 insertions, 1 deletions
@@ -7,6 +7,12 @@ Changelog Daniel Stenberg (2 Mar 2010) +- Andrei Benea filed bug report #2956698 and pointed out that the + CURLOPT_CERTINFO feature leaked memory due to a missing OpenSSL function + call. He provided the patch to fix it too. + + http://curl.haxx.se/bug/view.cgi?id=2956698 + - Markus Duft pointed out in bug #2961796 that even though Interix has a poll() function it doesn't quite work the way we want it so we must disable it, and he also provided a patch for it. diff --git a/RELEASE-NOTES b/RELEASE-NOTES index b35641e0d..684df8e3e 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -25,6 +25,7 @@ This release includes the following bugfixes: o TFTP upload o FTP timeouts after file transferred completely o skip poll() on Interix + o CURLOPT_CERTINFO memory leak This release includes the following known bugs: @@ -35,6 +36,6 @@ advice from friends like these: Steven M. Schweda, Yang Tse, Jack Zhang, Tom Donovan, Martin Hager, Daniel Fandrich, Patrick Monnerat, Pat Ray, Wesley Miaw, Ben Greear, - Ryan Chan, Markus Duft + Ryan Chan, Markus Duft, Andrei Benea Thanks! (and sorry if I forgot to mention someone) diff --git a/lib/ssluse.c b/lib/ssluse.c index a1b760e08..ec5c33b28 100644 --- a/lib/ssluse.c +++ b/lib/ssluse.c @@ -2125,6 +2125,7 @@ static CURLcode get_cert_chain(struct connectdata *conn, break; #endif } + EVP_PKEY_free(pubkey); } X509V3_ext(data, i, cinf->extensions); |