aboutsummaryrefslogtreecommitdiffstats
path: root/lock.c
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2005-11-14 22:54:51 +0000
committerMatthias Andree <matthias.andree@gmx.de>2005-11-14 22:54:51 +0000
commitcdd6a567ea8b77e6636e8368822b253fb622a025 (patch)
tree7032654097d5b0569656a1dfe696a31afa957195 /lock.c
parentb77c02e7a26df60c7793ce0a4a60e1a95417f4e9 (diff)
downloadfetchmail-cdd6a567ea8b77e6636e8368822b253fb622a025.tar.gz
fetchmail-cdd6a567ea8b77e6636e8368822b253fb622a025.tar.bz2
fetchmail-cdd6a567ea8b77e6636e8368822b253fb622a025.zip
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
Diffstat (limited to 'lock.c')
0 files changed, 0 insertions, 0 deletions