dovecot-2.0: pop3: Don't crash if INBOX can't be opened.

dovecot at dovecot.org dovecot at dovecot.org
Sat Mar 27 05:05:15 EET 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/110ef59372cd
changeset: 11011:110ef59372cd
user:      Timo Sirainen <tss at iki.fi>
date:      Sat Mar 27 05:05:12 2010 +0200
description:
pop3: Don't crash if INBOX can't be opened.

diffstat:

 src/pop3/main.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r f4ff6c7cdafe -r 110ef59372cd src/pop3/main.c
--- a/src/pop3/main.c	Sat Mar 27 05:03:57 2010 +0200
+++ b/src/pop3/main.c	Sat Mar 27 05:05:12 2010 +0200
@@ -103,7 +103,7 @@
 		verbose_proctitle = TRUE;
 
 	client = client_create(fd_in, fd_out, mail_user, user, set);
-	T_BEGIN {
+	if (client != NULL) T_BEGIN {
 		client_add_input(client, input_buf);
 	} T_END;
 	return 0;


More information about the dovecot-cvs mailing list