[dovecot-cvs] dovecot/src/master login-process.c,1.87,1.88
tss at dovecot.org
tss at dovecot.org
Sat Nov 4 12:05:16 UTC 2006
Update of /var/lib/cvs/dovecot/src/master
In directory talvi:/tmp/cvs-serv17993
Modified Files:
login-process.c
Log Message:
inetd logins kept crashing dovecot master.
Index: login-process.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/master/login-process.c,v
retrieving revision 1.87
retrieving revision 1.88
diff -u -d -r1.87 -r1.88
--- login-process.c 3 Nov 2006 12:59:45 -0000 1.87
+++ login-process.c 4 Nov 2006 12:05:13 -0000 1.88
@@ -91,6 +91,7 @@
struct master_login_reply master_reply;
ssize_t ret;
+ memset(&master_reply, 0, sizeof(master_reply));
if (user == NULL)
master_reply.success = FALSE;
else {
@@ -844,6 +845,7 @@
static bool login_process_init_group(struct login_process *p)
{
+ p->group->refcount++;
p->group->processes++;
p->group->listening_processes++;
More information about the dovecot-cvs
mailing list