scampbell created BIT-1479:
------------------------------

             Summary: seek functionality in RAW reader does not go to end of 
file
                 Key: BIT-1479
                 URL: https://bro-tracker.atlassian.net/browse/BIT-1479
             Project: Bro Issue Tracker
          Issue Type: Problem
          Components: Bro
    Affects Versions: 2.4
         Environment: running bin/bro version 2.4-87-debug on linux
            Reporter: scampbell


When using the seek functionality for RAW input as described in 

https://github.com/bro/bro/commit/cbba73ab12b3a9935162f008fe7d05ab61c5be6a

The code on line 397-398 will push the suggested value of -1 to 0 which will 
disable the SEEK_END.  

The fix would be to make the test if offset < -1, or to remove it in its 
entirety.

many thanks!
scott



--
This message was sent by Atlassian JIRA
(v7.0.0-OD-05-005#70102)
_______________________________________________
bro-dev mailing list
[email protected]
http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev

Reply via email to