14 May
2015
14 May
'15
9:45 p.m.
On 14 May 2015, at 21:14, Adam Lackorzynski <adam@os.inf.tu-dresden.de> wrote:
Hi,
I'm using libexec/dovecot/imap via a ssh tunnel. 2.2.17 segfaults while accessing a NULL pointer. The following change fixes it for me:
--- dovecot-2.2.17/src/lib-imap/imap-keepalive.c 2015-05-03 11:12:11.000000000 +0200 +++ dovecot-2.2.17/src/lib-imap/imap-keepalive.c 2015-05-14 20:06:29.490617405 +0200 @@ -11,6 +11,8 @@ { unsigned int addr;
+ if (!ip) + return FALSE; if (ip->family == 0) return FALSE; if (ip->family == AF_INET) {
Slightly different fix: http://hg.dovecot.org/dovecot-2.2/rev/4c4eff229426