aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorGuenter Roeck <[email protected]>2012-01-16 22:51:47 +0100
committerJean Delvare <[email protected]>2012-01-16 22:51:47 +0100
commit6b101116ae445311031f3e9f91d3010d444b9845 (patch)
tree418e5369d31ebdf8aea6bfa4c012e7ac8702ded6 /tools/perf/scripts/python/netdev-times.py
parent2fe28ab51d200121b9c39f9b34cf2d132fcf5de1 (diff)
hwmon: (lm90) Add range check to set_update_interval
When writing the update_interval attribute, the parameter value was not range checked, which could cause an integer overflow and result in an arbitrary update interval. Fix by limiting the value range to <0, 100000>. Reported-by: Jean Delvare <[email protected]> Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Jean Delvare <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions