aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2005-07-20 11:10:19 +0000
committerMatthias Andree <matthias.andree@gmx.de>2005-07-20 11:10:19 +0000
commitecf1ca8748b3fd62ee5cc085aa84acfd21d51c50 (patch)
treee60a807ff3a610b10844f9e83cb085e898186955
parent66df9b24a8e0bebd7b355fe349abb93c684bc506 (diff)
downloadfetchmail-ecf1ca8748b3fd62ee5cc085aa84acfd21d51c50.tar.gz
fetchmail-ecf1ca8748b3fd62ee5cc085aa84acfd21d51c50.tar.bz2
fetchmail-ecf1ca8748b3fd62ee5cc085aa84acfd21d51c50.zip
Fix Debian bug #301964, socket leak.
svn path=/trunk/; revision=4127
-rw-r--r--NEWS4
-rw-r--r--driver.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/NEWS b/NEWS
index 2982c161..0008b7a7 100644
--- a/NEWS
+++ b/NEWS
@@ -109,8 +109,6 @@ fetchmail 6.3.0 (not yet released officially):
* Run fetchmail.man through automatic spell checker. Matthias Andree.
* Major fetchmail(1) manual page overhaul by R. Hannes Beinert, to
clarify singledrop vs. multidrop operation. (MA)
-
-since -pre4:
* Make tracepolls a server option, as documented. Fixes Debian bug
#156094. Matthias Andree.
* Updated some translations. (MA)
@@ -119,6 +117,8 @@ since -pre4:
* Rename ESR's design notes to esrs-design-notes.html and add a new
design-notes.html document. The NOTES file will contain both of them.
Matthias Andree.
+* Fix Debian bug #301964, fetchmail leaks sockets when SSL negotiation
+ fails. Fix suggested Goswin Brederlow. (MA)
fetchmail-6.2.5 (Wed Oct 15 18:39:22 EDT 2003), 23079 lines:
diff --git a/driver.c b/driver.c
index 7cfb2cbf..905890d8 100644
--- a/driver.c
+++ b/driver.c
@@ -1161,7 +1161,7 @@ static int do_session(
{
report(stderr, GT_("SSL connection failed.\n"));
err = PS_AUTHFAIL;
- goto closeUp;
+ goto cleanUp;
}
/* Fetchmail didn't hang on SSLOpen,