[syslog-ng] File descriptor leaks with 3.0.1

chris packham chris.packham at alliedtelesis.co.nz
Mon Feb 16 21:58:50 CET 2009


On Mon, 2009-02-16 at 15:52 +1300, chris packham wrote:
> Also seems to be present in the latest version checked out from the git repo but I'll do some more digging.
> 

I've confirmed that this does indeed happen on the latest version from
the git repo. I've attached a patch that addresses this. Looks like the
'include' implementation assumes that yy_switch_to_buffer closes the old
file (which flex 2.5.33 doesn't, I haven't tried other versions). 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-fix-file-descriptor-leak-when-using-includes.patch
Type: application/mbox
Size: 1754 bytes
Desc: not available
Url : http://lists.balabit.hu/pipermail/syslog-ng/attachments/20090217/4d14e92d/attachment.bin 


More information about the syslog-ng mailing list