diff options
| author | Guenter Roeck <linux@roeck-us.net> | 2016-12-27 14:15:07 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-10-08 10:14:17 +0200 |
| commit | 297b8b01ec278ceadf55cc7f243797700a250a1c (patch) | |
| tree | bb1854261c0f1d009199b2f0951cd94b577c6586 /tools/perf/scripts/python | |
| parent | d89f41c20f32cd276e716569b60a5eac0ac64ad9 (diff) | |
hwmon: (gl520sm) Fix overflows and crash seen when writing into limit attributes
[ Upstream commit 87cdfa9d60f4f40e6d71b04b10b36d9df3c89282 ]
Writes into limit attributes can overflow due to multplications and
additions with unbound input values. Writing into fan limit attributes
can result in a crash with a division by zero if very large values are
written and the fan divider is larger than 1.
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
