In document_source_sorter.h:
struct Comp { int operator()(Date_t x, Date_t y) const { return x.toMillisSinceEpoch() - y.toMillisSinceEpoch(); } };
It's pretty easy to overflow this int because 2^32 milliseconds is only a couple months.
In document_source_sorter.h:
struct Comp { int operator()(Date_t x, Date_t y) const { return x.toMillisSinceEpoch() - y.toMillisSinceEpoch(); } };
It's pretty easy to overflow this int because 2^32 milliseconds is only a couple months.