[Bro-Dev] #474: &raw_output turns null values into \0

Bro Tracker bro at tracker.bro.org
Wed May 15 09:37:49 PDT 2013

#474: &raw_output turns null values into \0
  Reporter:  seth     |      Owner:  jsiwek
      Type:  Problem  |     Status:  assigned
  Priority:  Normal   |  Milestone:  Bro2.2
 Component:  Bro      |    Version:  git/master
Resolution:           |   Keywords:  preview

Comment (by robin):

 This generally sounds good to me. I admit that I don't have a good sense
 of all pontential implications, there might be some subtle ones, but
 assuming it doesn't break anything I'm fine applying it. Two questions:

 - what if a value that already has an attribute defined gets assigned to a
 local with an attribute. Does the latter still transfer over? Is it
 different depending whether it's the same attribute or not?

 - the one caveat I see is shared references: say one val is assigned to
 two locals with different values for the same attribute. It would depend
 on order what exactly happens, and in any case one assignment changes
 semantics somewhere else.

Ticket URL: <http://tracker.bro.org/bro/ticket/474#comment:13>
Bro Tracker <http://tracker.bro.org/bro>
Bro Issue Tracker

More information about the bro-dev mailing list