[Bro-Dev] #488: Bug in HTTP parser
Bro Tracker
bro at tracker.bro-ids.org
Wed Sep 28 17:41:08 PDT 2011
#488: Bug in HTTP parser
----------------------------+------------------------
Reporter: robin | Owner:
Type: Merge Request | Status: new
Priority: Normal | Milestone: Bro1.6
Component: Bro | Version: git/master
Resolution: | Keywords:
----------------------------+------------------------
Comment (by robin):
I'm adding a bit more error handling, it's always good to catch things
that aren't as expected.
Also a note: the parsing creates a number of new string objects each time.
In this case it doesn't really matter because the code won't be executed
that often (relative to the rest of the HTTP code), but generally it's
better to avoid that and also keep the style consistent with how other
code is doing the parsing. The MIME code has some helpers already.
--
Ticket URL: <http://tracker.bro-ids.org/bro/ticket/488#comment:6>
Bro Tracker <http://tracker.bro-ids.org/bro>
Bro Issue Tracker
More information about the bro-dev
mailing list