[dovecot-cvs] dovecot/src/master login-process.c, 1.73.2.14, 1.73.2.15
tss at dovecot.org
tss at dovecot.org
Sat Nov 4 12:05:14 UTC 2006
Update of /var/lib/cvs/dovecot/src/master
In directory talvi:/tmp/cvs-serv17997
Modified Files:
Tag: branch_1_0
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.73.2.14
retrieving revision 1.73.2.15
diff -u -d -r1.73.2.14 -r1.73.2.15
--- login-process.c 3 Nov 2006 12:59:44 -0000 1.73.2.14
+++ login-process.c 4 Nov 2006 12:05:11 -0000 1.73.2.15
@@ -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