dovecot-2.2: lmtp: Fixed previous change to make sure it doesn't...
dovecot at dovecot.org
dovecot at dovecot.org
Fri Aug 10 05:24:39 EEST 2012
details: http://hg.dovecot.org/dovecot-2.2/rev/569588ff7ef0
changeset: 14766:569588ff7ef0
user: Timo Sirainen <tss at iki.fi>
date: Mon Jul 02 10:12:59 2012 +0300
description:
lmtp: Fixed previous change to make sure it doesn't crash on error handling.
diffstat:
src/lmtp/lmtp-proxy.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (13 lines):
diff -r 8a97daa8aff6 -r 569588ff7ef0 src/lmtp/lmtp-proxy.c
--- a/src/lmtp/lmtp-proxy.c Mon Jul 02 10:09:15 2012 +0300
+++ b/src/lmtp/lmtp-proxy.c Mon Jul 02 10:12:59 2012 +0300
@@ -230,7 +230,8 @@
i_assert(rcpt->reply != NULL);
/* reset timeout in case there are a lot of RCPT TOs */
- timeout_reset(conn->to);
+ if (conn->to != NULL)
+ timeout_reset(conn->to);
rcpt->reply = p_strdup(conn->proxy->pool, reply);
rcpt->data_reply_received = TRUE;
More information about the dovecot-cvs
mailing list