[Bro-Dev] #679: Add support for deleting vector elements

Bro Tracker bro at tracker.bro-ids.org
Wed Nov 16 10:47:53 PST 2011

#679: Add support for deleting vector elements
  Reporter:  matthias  |      Owner:
      Type:  Problem   |     Status:  new
  Priority:  Normal    |  Milestone:  Bro2.0
 Component:  Bro       |    Version:  git/master
Resolution:            |   Keywords:

Comment (by robin):

 What does a vector do if I insert an element way beyond the current
 end? Does it expand and fill with null values in between? If so, I
 already don't like that, because Bro doesn't really have null values.
 Using one of those fields will probably cause a crash (or is it caught
 and causes a run-time error?) Is there a way to test if a vector value
 is set? (As you can tell, I have pretty much avoided using vectors in
 the past :-)

 One way to solve all this would be giving vectors a &default
 attribute to specify a value to be returned by default.

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

More information about the bro-dev mailing list