[Bro] Small bug in file rotate+setbuf
JAzoff at uamail.albany.edu
Mon Nov 2 05:14:38 PST 2009
I tried to submit a ticket for this but it kept triggering the spam detecting...
When files are rotated they lose their buffered flag, this is because
File::Open only does a SetBuf when it opens the file itself, but Rotate calls
rotate_file to open the file.
It's a one line fix, I'm not sure if it would be better to call SetBuf at the
end of Rotate or if the call to SetBuf in Open should be moved outside of the
if( ! f ) block.
-- Justin Azoff
-- Network Performance Analyst
More information about the Bro