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

Bro Tracker bro at tracker.bro-ids.org
Wed Aug 3 15:44:14 PDT 2011


#474: &raw_output turns null values into \0
----------------------------+------------------------
  Reporter:  seth           |      Owner:
      Type:  Merge Request  |     Status:  new
  Priority:  Normal         |  Milestone:  Bro1.6
 Component:  Bro            |    Version:  git/master
Resolution:                 |   Keywords:  preview
----------------------------+------------------------

Comment (by robin):

 > (Re)Assigning to identifiers with the &raw_output attribute should also
 > now correctly apply the attribute to the file value being assigned.

 I'm somewhat reluctant to apply this part. Bro is already inconsistent
 with what happens with attributes on assigment, and I don't want to make
 it worse. Here, the attribute would now be transfered from the target to
 the value being assigned, which doesn't sound right (it makes sense in
 terms of what one wants to achieve, but still…) Can we leave this part out
 and use the enable_raw_output() function instead?

 Otherwise, nice patch!

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



More information about the bro-dev mailing list