Cyrus replication leak

ZABLOCKI, T (T) zablocki at alcatel-lucent.com
Thu Dec 4 05:57:02 EST 2008


> Hello,
> 
> I found leak of file descriptors in cyrus code in case of
> communication errors.
> I the log file is very big and you kill sync_server you can turn into
> case where there are no more file descriptors for sync_client.
> 
	Fix:
> sync_client.c
> 
> 2574 r = do_user_parse(user, server_list, server_sub_list,
> server_sieve_list); 
> 2575 
> 2576 if (r) { 
> 2577 sync_folder_list_free(&server_list); 
> 2578 sync_folder_list_free(&server_sub_list); 
> <<-- 1 LINES ADDED -->> 
> 2579 if (mailbox_open) mailbox_close(&m); 
> 2580 return(r); 
> 2581 } 
> 
> Regards,
> Tomasz Zablocki
> Alcatel-Lucent
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.andrew.cmu.edu/pipermail/cyrus-devel/attachments/20081204/46f6c6b5/attachment.html 


More information about the Cyrus-devel mailing list