[ https://bro-tracker.atlassian.net/browse/BIT-1202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robin Sommer updated BIT-1202: ------------------------------ Resolution: Merged Status: Closed (was: Open) > Segfault with double redef of table[subnet] of subnet > ----------------------------------------------------- > > Key: BIT-1202 > URL: https://bro-tracker.atlassian.net/browse/BIT-1202 > Project: Bro Issue Tracker > Issue Type: Problem > Components: Bro > Affects Versions: git/master > Reporter: grigorescu > Fix For: 2.3 > > > Ran into this issue last night. The following code causes a segfault: > {code} > const my_table: table[subnet] of subnet &redef; > redef my_table[3.0.0.0/8] = 1.0.0.0/8; > redef my_table[3.0.0.0/8] = 2.0.0.0/8; > event bro_init() > { > if ( 3.1.2.3 in my_table && 3.1.2.3 in my_table[3.0.0.0/8] ) > print "Got it."; > } > {code} > While it's a logic mistake to doubly redef this, I think there's a > ref-tracking issue that should be fixed. -- This message was sent by Atlassian JIRA (v6.3-OD-06-017#6327) _______________________________________________ bro-dev mailing list bro-dev@bro.org http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev