diff options
author | Douglas Christman <DouglasChristman@gmail.com> | 2016-12-20 16:42:12 -0500 |
---|---|---|
committer | Douglas Christman <DouglasChristman@gmail.com> | 2016-12-20 17:52:55 -0500 |
commit | c0aebb4b3b38caca64ae190f1d523edf46f03969 (patch) | |
tree | 804df8f381b3ea651a2bb6abb0eb883fa25961a4 /units/poweroff.target | |
parent | 9f702d00d61a9d7bceeb07eced01427a85193021 (diff) |
calendarspec: improve overflow handling
Check if the parsed seconds value fits in an integer *after*
multiplying by USEC_PER_SEC, otherwise a large value can trigger
modulo by zero during normalization.
Diffstat (limited to 'units/poweroff.target')
0 files changed, 0 insertions, 0 deletions