dovecot: Assert-crashfix.

dovecot at dovecot.org dovecot at dovecot.org
Tue Aug 7 14:45:54 EEST 2007


details:   http://hg.dovecot.org/dovecot/rev/336ad0e3c78f
changeset: 6225:336ad0e3c78f
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Aug 07 14:38:13 2007 +0300
description:
Assert-crashfix.

diffstat:

1 file changed, 2 insertions(+), 1 deletion(-)
src/auth/mech-winbind.c |    3 ++-

diffs (13 lines):

diff -r 4e352390abb7 -r 336ad0e3c78f src/auth/mech-winbind.c
--- a/src/auth/mech-winbind.c	Tue Aug 07 14:35:34 2007 +0300
+++ b/src/auth/mech-winbind.c	Tue Aug 07 14:38:13 2007 +0300
@@ -59,7 +59,8 @@ static void winbind_helper_connect(struc
 	int infd[2], outfd[2];
 	pid_t pid;
 
-	i_assert(winbind->in_pipe == NULL);
+	if (winbind->in_pipe != NULL)
+		return;
 
 	if (pipe(infd) < 0) {
 		i_error("pipe() failed: %m");


More information about the dovecot-cvs mailing list