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) {



Thanks,
Adam
-- 
Adam                 a...@os.inf.tu-dresden.de
  Lackorzynski         http://os.inf.tu-dresden.de/~adam/

Reply via email to