Segfault in FifoDisk.cc

Description

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.

Environment

Confirmed on 32 and 64-bit Linux.

Assignee

Unassigned

Reporter

Matthias Vallentin

Labels

None

Fix versions

Affects versions

Priority

Normal