[PATCH] closedir missing in timsieved
Thomas Cataldo
thomas.cataldo at aliasource.fr
Mon May 25 19:47:42 EDT 2009
Hello,
While writing a sieve client lib for the minig (minig.org) webmail
project, I triggered a bug in the LISTSCRIPTS implementation in cyrus
2.2 from debian etch. The directory seems to remain unclosed and this
is a problem when prefork > 0 is set on timsieved.
The attached patch should fix it.
-------------- next part --------------
--- actions.c 2009-05-26 01:41:57.000000000 +0200
+++ actions.fixed.c 2009-05-26 01:42:27.000000000 +0200
@@ -542,6 +542,8 @@
}
}
+ closedir(dp);
+
prot_printf(conn,"OK\r\n");
return TIMSIEVE_OK;
More information about the Info-cyrus
mailing list