diff options
author | Sasha Levin <[email protected]> | 2015-12-03 15:46:48 -0500 |
---|---|---|
committer | John Stultz <[email protected]> | 2015-12-10 22:41:05 -0800 |
commit | 52d189f1b38810b1b483d5bac2e4fa90b9afd372 (patch) | |
tree | 756d5bcadf6596e5256b4b9a40c4c7a259934740 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 3b44edaaa1fffccea7edc018dd807581c97a6aea (diff) |
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 <[email protected]>
Cc: Richard Cochran <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
[jstultz: Reworked one of the checks so it makes more sense]
Signed-off-by: John Stultz <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions