[Bro-Dev] #367: internal_error with &optional fields in records used as indexes

Bro Tracker bro at tracker.icir.org
Tue Feb 8 14:22:52 PST 2011


#367: internal_error with &optional fields in records used as indexes
----------------------+------------------------
  Reporter:  seth     |      Owner:
      Type:  Problem  |     Status:  new
  Priority:  Normal   |  Milestone:  Bro1.6
 Component:  Bro      |    Version:  git/master
Resolution:           |   Keywords:  logging
----------------------+------------------------

Comment (by vern):

 Seth, this is almost more feature than bug!  Sure, Bro shouldn't crash
 with an internal error.  However, disallowing use of "any" by generating
 a type error strikes me as just fine.  It's not meant to be used at all by
 user-level code; it's just there for built-ins that are too darn handy in
 generic form to go without.

-- 
Ticket URL: <http://tracker.icir.org/bro/ticket/367#comment:7>
Bro Tracker <http://tracker.icir.org/bro>
Bro Issue Tracker



More information about the bro-dev mailing list