summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
ee3cd16)
Without this fix, dss would abort du to an assertion in dss.c:
dss.c:171: compute_next_snapshot_time: Assertion `x >= 0' failed.
Thanks to Sebastian Stark for pointing out this flaw.
free(tmp);
if (ret < 0)
return 0;
free(tmp);
if (ret < 0)
return 0;
+ if (num > now || num < s->creation_time)
return 0;
s->completion_time = num;
s->flags = SS_COMPLETE;
return 0;
s->completion_time = num;
s->flags = SS_COMPLETE;