[PATCH] closedir missing in timsieved

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
--- 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;
----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux