[Bro-Dev] #567: Protect/secure format strings in Reporter.cc

Bro Tracker bro at tracker.bro-ids.org
Thu Sep 8 11:11:40 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 gregor):

 >  >   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.

 Unfortunately not, since the compiler doesn't know which function to use
 :-(
 I tried that when I did the fix for the segfault.


 cu
 Gregor

-- 
Ticket URL: <http://tracker.bro-ids.org/bro/ticket/567#comment:6>
Bro Tracker <http://tracker.bro-ids.org/bro>
Bro Issue Tracker



More information about the bro-dev mailing list