[Bro-Dev] #994: segmentation fault with anonymous enum

Bro Tracker bro at tracker.bro.org
Fri May 10 11:40:25 PDT 2013


#994: segmentation fault with anonymous enum
------------------------+---------------------
 Reporter:  dmandelb    |       Type:  Problem
   Status:  new         |   Priority:  Low
Milestone:  Bro2.2      |  Component:  Bro
  Version:  git/master  |   Keywords:
------------------------+---------------------
 This code:

 {{{
 global x: enum {FOO, BAR} = FOO;
 }}}

 Causes a segmentation fault with this backtrace:

 {{{
 #0  0x082733be in ID::Name (this=0x0) at /home/dmandelb/bro/src/ID.h:23
 #1  0x0826a19e in parser_new_enum () at parse.y:142
 #2  0x0826e068 in yyparse () at parse.y:850
 #3  0x08281a42 in main (argc=5, argv=0xbffff2b4) at
 /home/dmandelb/bro/src/main.cc:801
 }}}

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



More information about the bro-dev mailing list