]> git.ipfire.org Git - thirdparty/systemd.git/commit
timedated: rework clock change overflow check
authorLennart Poettering <lennart@poettering.net>
Tue, 18 Feb 2025 08:37:41 +0000 (09:37 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 18 Feb 2025 10:22:34 +0000 (11:22 +0100)
commitfff6dfc75e4a2eabff2dea61d77a74cfdb949b66
tree1ab236859da0d7fd18ba2c98f7a1edf5999c06e9
parent0df15b843eb3f21cd9a43ce320c97feca5e63785
timedated: rework clock change overflow check

Let's use explicit language constructs to test for overflow, the
previous code was ultimately relying on undefined behaviour.
src/timedate/timedated.c