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

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


#502: scan.l can free a static string
----------------------+--------------------
  Reporter:  vern     |      Owner:
      Type:  Problem  |     Status:  closed
  Priority:  Normal   |  Milestone:  Bro1.6
 Component:  Bro      |    Version:
Resolution:  Invalid  |   Keywords:
----------------------+--------------------
Changes (by vern):

 * status:  new => closed
 * resolution:   => Invalid


Old description:

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

New description:

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

 Never mind - this was me being in git hell, and having an out-of-date tree
 even though it didn't appear to be :-(.

--

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



More information about the bro-dev mailing list