]> git.ipfire.org Git - thirdparty/chrony.git/commit
sourcestats: don't load samples from future
authorMiroslav Lichvar <mlichvar@redhat.com>
Wed, 18 May 2022 14:30:19 +0000 (16:30 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Wed, 18 May 2022 14:38:41 +0000 (16:38 +0200)
commit02ccd3a3c7c86c2d197ee3cae1b069109326bbff
tree5cba18b245de8c5302fef2ace817133c887036c7
parent9cc609c4b0679f6a22d08da4ea3644ea96035d9d
sourcestats: don't load samples from future

When loading a dumped file, make sure there are no sample times in
future relative to the current system time (e.g. after reboot with
missing RTC).
sourcestats.c