summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJ William Piggott2017-09-26 01:30:24 +0200
committerJ William Piggott2017-11-10 21:49:45 +0100
commit10191da63a35317aea1d2286225efc03734c10d5 (patch)
treec6169c6d1ba8c6f0300acd97307dbf66df1af99e /include
parentnsenter: revert changes committed by accident (diff)
downloadkernel-qcow2-util-linux-10191da63a35317aea1d2286225efc03734c10d5.tar.gz
kernel-qcow2-util-linux-10191da63a35317aea1d2286225efc03734c10d5.tar.xz
kernel-qcow2-util-linux-10191da63a35317aea1d2286225efc03734c10d5.zip
hwclock: add iso-8601 overflow check
hwclock wasn't testing for strtimeval_iso() truncation: /sbin/hwclock --utc --noadjfile --predict --date '7982 years'; echo $? 9999-09-25 19:33:01.000000-0400 0 /sbin/hwclock --utc --noadjfile --predict --date '7983 years'; echo $? 10000-09-25 19:33:10.000000- 0 Patched: ./hwclock --utc --noadjfile --predict --date '7982 years'; echo $? 9999-09-25 19:22:15.000000-0400 0 ./hwclock --utc --noadjfile --predict --date '7983 years'; echo $? hwclock: iso-8601 format truncated 1 Signed-off-by: J William Piggott <elseifthen@gmx.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions