[Bro-Dev] #958: Mismatched New [] / Delete in RE.cc

Bro Tracker bro at tracker.bro.org
Thu Mar 7 11:25:00 PST 2013

#958: Mismatched New [] / Delete in RE.cc
 Reporter:  jbaines     |       Type:  Patch
   Status:  new         |   Priority:  Low
Milestone:  Bro2.2      |  Component:  Bro
  Version:  git/master  |   Keywords:
 There is a mismatched new[] and delete in RE.cc. RE.cc:495 allocates a
 char array using [] notation, but on 499 the allocation is deleted without
 [] notation.

 Attached is a patch that simply inserts the [] appropriately.

Ticket URL: <http://tracker.bro.org/bro/ticket/958>
Bro Tracker <http://tracker.bro.org/bro>
Bro Issue Tracker

More information about the bro-dev mailing list