summaryrefslogtreecommitdiff
path: root/units/dev-hugepages.mount
diff options
context:
space:
mode:
authorDouglas Christman <DouglasChristman@gmail.com>2016-12-20 16:42:12 -0500
committerDouglas Christman <DouglasChristman@gmail.com>2016-12-20 17:52:55 -0500
commitc0aebb4b3b38caca64ae190f1d523edf46f03969 (patch)
tree804df8f381b3ea651a2bb6abb0eb883fa25961a4 /units/dev-hugepages.mount
parent9f702d00d61a9d7bceeb07eced01427a85193021 (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/dev-hugepages.mount')
0 files changed, 0 insertions, 0 deletions