v2.2.17 Segfault
Adam Lackorzynski
adam at os.inf.tu-dresden.de
Thu May 14 18:14:06 UTC 2015
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 adam at os.inf.tu-dresden.de
Lackorzynski http://os.inf.tu-dresden.de/~adam/
More information about the dovecot
mailing list