chiark / gitweb /
timedated: extra overflow safety check when doing relative time changes
authorLennart Poettering <lennart@poettering.net>
Fri, 22 Mar 2013 20:35:53 +0000 (21:35 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 22 Mar 2013 20:38:49 +0000 (21:38 +0100)
commit86e7b6e3f61e2a0d2395d7f2cc28e8f9199710e7
tree0109bbff34c4f57f203ae2b74b790dfa52fa189a
parentbfa00bc6c05d0f896e9632eccd47d442fea556b9
timedated: extra overflow safety check when doing relative time changes

Ensure clients don't overflow usec_t when doing relative time changes.
This is mostly just paranoia and protection against accidents, after all
clients are already authenticated, and they can se the time to any
value they wish anyway, but better be safe than sorry.

https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1152187/comments/14
src/timedate/timedated.c