[Bro-Dev] #567: Protect/secure format strings in Reporter.cc
Bro Tracker
bro at tracker.bro-ids.org
Thu Sep 8 10:13:04 PDT 2011
#567: Protect/secure format strings in Reporter.cc
----------------------+------------------------
Reporter: gregor | Owner:
Type: Problem | Status: new
Priority: Normal | Milestone: Bro1.6
Component: Bro | Version: git/master
Resolution: | Keywords: beta
----------------------+------------------------
Comment (by robin):
On Thu, Sep 08, 2011 at 16:24 -0000, you wrote:
> b) Having two sets of methods in Reporter. E.g., Info() and InfoFmt()
of
Can we achieve this with overloading the function? Not quite sure
whether the compiler would find it ambigious though.
> Why do I really want this?
I understandn why you want this. But having to use fmt() pretty much
everytime isn't great either, and the case where one passes in a
variable as the first argument seems rare. And we already have other
functions than fmt() as well that take var args.
Robin
--
Ticket URL: <http://tracker.bro-ids.org/bro/ticket/567#comment:5>
Bro Tracker <http://tracker.bro-ids.org/bro>
Bro Issue Tracker
More information about the bro-dev
mailing list