[Bro-Dev] #502: scan.l can free a static string

Bro Tracker bro at tracker.bro-ids.org
Wed Jul 20 17:44:12 PDT 2011


#502: scan.l can free a static string
---------------------+--------------------
 Reporter:  vern     |      Owner:
     Type:  Problem  |     Status:  new
 Priority:  Normal   |  Milestone:  Bro1.6
Component:  Bro      |    Version:
 Keywords:           |
---------------------+--------------------
 If I run bro with no arguments, my Snow Leopard OSX system flags a bad
 malloc operation at line 630 of `scan.l`:
 {{{
 delete [] bropath_subpath;
 }}}
 This occurs because bropath_subpath at that point is still "<internal
 error>".

-- 
Ticket URL: <http://tracker.bro-ids.org/bro/ticket/502>
Bro Tracker <http://tracker.bro-ids.org/bro>
Bro Issue Tracker



More information about the bro-dev mailing list