From cdd6a567ea8b77e6636e8368822b253fb622a025 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Mon, 14 Nov 2005 22:54:51 +0000 Subject: Sunil Shetye fixed these problems in a patch posted to fetchmail-devel: 1. parsed_host is not freed in some cases. This happens when the first smtp server is down in this setup: poll mailserver ... smtphost "smtpserver1" "smtpserver2" ... 2. parsed_host is being initialized for UNIX socket also. For UNIX socket, parsed_host should be NULL. 3. If EHLO fails on a UNIX socket, it tries HELO on a network socket! 4. ctl->destaddr is allocated memory in two cases. This memory is never freed. 5. ctl->destaddr was being assigned in a very convoluted manner. Since, parsed_host is already set correctly now, it can be used directly. svn path=/trunk/; revision=4443 --- NEWS | 2 ++ 1 file changed, 2 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index c3e3b91d..727c61b3 100644 --- a/NEWS +++ b/NEWS @@ -281,6 +281,8 @@ fetchmail 6.3.0 (not yet released officially): * Man page: update --smtphost documentation. Sunil Shetye, Matthias Andree. * Man page: clarify --loghost works only while detached. Matthias Andree * Man page: update --smtpaddress documentation. Sunil Shetye. +* Fix several memory leaks and bugs in the SMTP/LMTP retry logic where + fetchmail confused UNIX and Internet domain sockets. Sunil Shetye. # INTERNAL CHANGES * Switched to automake. Matthias Andree. -- cgit v1.2.3