CESNET / ipfixcol

IPFIXcol is an implementation of an IPFIX (RFC 7011) collector
Other
64 stars 37 forks source link

fbitmerge: improved stability when encountering unexpected directory names #132

Closed ghost closed 9 years ago

ghost commented 9 years ago

We have seen a crash of fbitmerge with the following output:

terminate called after throwing an instance of 'std::out_of_range'
  what():  basic_string::substr

Although the data that was merged at that moment was already removed before we could analyze the problem in detail, we suspect the problem to be in one of the 'fixed' lines. This fix will avoid crashes in the future and log an appropriate error message.