diff options
author | 2016-12-04 18:20:52 -0800 | |
---|---|---|
committer | 2016-12-12 11:33:44 -0800 | |
commit | 59715f4d16c27985b6866ebdced76e4e9cd63c33 (patch) | |
tree | 67735f7f317298618673d75360c00079ea67593c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | hwmon: (emc2103) Fix overflows seen when temperature limit attributes (diff) | |
download | linux-dev-59715f4d16c27985b6866ebdced76e4e9cd63c33.tar.xz linux-dev-59715f4d16c27985b6866ebdced76e4e9cd63c33.zip |
hwmon: (emcw201) Fix overflows seen when writing into limit attributes
Writes into temperature and voltage limit attributes can overflow
due to multiplications with unchecked parameters. Also, the input
parameter to DIV_ROUND_CLOSEST() needis to be range checked.
Reviewed-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions