summaryrefslogtreecommitdiff
path: root/tools/iio
diff options
context:
space:
mode:
authorSasha Levin <sasha.levin@oracle.com>2015-12-03 20:46:48 (GMT)
committerJohn Stultz <john.stultz@linaro.org>2015-12-11 06:41:05 (GMT)
commit52d189f1b38810b1b483d5bac2e4fa90b9afd372 (patch)
tree756d5bcadf6596e5256b4b9a40c4c7a259934740 /tools/iio
parent3b44edaaa1fffccea7edc018dd807581c97a6aea (diff)
downloadlinux-52d189f1b38810b1b483d5bac2e4fa90b9afd372.tar.xz
ntp: Verify offset doesn't overflow in ntp_update_offset
We need to make sure that the offset is valid before manipulating it, otherwise it might overflow on the multiplication. Cc: Sasha Levin <sasha.levin@oracle.com> Cc: Richard Cochran <richardcochran@gmail.com> Cc: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Sasha Levin <sasha.levin@oracle.com> [jstultz: Reworked one of the checks so it makes more sense] Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'tools/iio')
0 files changed, 0 insertions, 0 deletions