[prev in list] [next in list] [prev in thread] [next in thread]
List: dovecot-cvs
Subject: [dovecot-cvs] dovecot/src/lib ioloop.c,1.36,1.37
From: cras () dovecot ! org (cras at dovecot ! org)
Date: 2006-08-17 21:16:51
Message-ID: 20060817211651.89456C00456F () talvi ! dovecot ! org
[Download RAW message or body]
Update of /var/lib/cvs/dovecot/src/lib
In directory talvi:/tmp/cvs-serv25766
Modified Files:
ioloop.c
Log Message:
io_add_notify() didn't set refcount so io_remove() crashed for it.
Index: ioloop.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib/ioloop.c,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -d -r1.36 -r1.37
--- ioloop.c 17 Aug 2006 18:46:42 -0000 1.36
+++ ioloop.c 17 Aug 2006 21:16:49 -0000 1.37
@@ -53,6 +53,7 @@
if (io == NULL)
return NULL;
+ io->refcount = 1;
io->condition |= IO_NOTIFY;
io->next = current_ioloop->notifys;
current_ioloop->notifys = io;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic