]> git.ipfire.org Git - thirdparty/chrony.git/commit
reference: switch is_leap_close() from time_t to double
authorMiroslav Lichvar <mlichvar@redhat.com>
Thu, 2 May 2024 11:20:54 +0000 (13:20 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Thu, 2 May 2024 12:43:46 +0000 (14:43 +0200)
commitadaca0ff19308f2bb2c0e2eb3247ea778bfe6549
treef1c9ab23729d12d955d1a2cba5183711aa2030f1
parent84d6c7a527db16cda1639b13ed47e127571dff55
reference: switch is_leap_close() from time_t to double

Avoid undefined behavior in the timestamp conversion from double to
time_t in REF_IsLeapSecondClose() with NTP sources configured with a
large offset correction.
reference.c