Matthias Vallentin created TM-15:
------------------------------------

             Summary: Segfault in FifoDisk.cc
                 Key: TM-15
                 URL: https://bro-tracker.atlassian.net/browse/TM-15
             Project: Time Machine
          Issue Type: Patch
    Affects Versions: git/master
         Environment: Confirmed on 32 and 64-bit Linux.
            Reporter: Matthias Vallentin
             Fix For: git/master


Ahir consistently ran into segmentation faults with his workload. We debugged 
the issue and found the culprit: In FifoDisk.cc, a call to 
{{std::vector<T>::front()}} violates its precondition

    {{! std::vector<T>::empty()}}

and thus causes UB. I fixed this here:

    https://github.com/mavam/time-machine

It's a one-line fix and ready to merge.



--
This message was sent by Atlassian JIRA
(v6.2-OD-01#6204)
_______________________________________________
bro-dev mailing list
bro-dev@bro.org
http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev

Reply via email to