[Bro-Dev] [JIRA] (TM-15) Segfault in FifoDisk.cc

Matthias Vallentin (JIRA) jira at bro-tracker.atlassian.net
Tue Oct 29 11:24:03 PDT 2013

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:


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

This message was sent by Atlassian JIRA

More information about the bro-dev mailing list