]> git.karo-electronics.de Git - linux-beck.git/commit
hwmon: (lm87) Fix overflow seen when writing voltage limit attributes
authorGuenter Roeck <linux@roeck-us.net>
Mon, 5 Dec 2016 02:16:02 +0000 (18:16 -0800)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 12 Dec 2016 19:33:42 +0000 (11:33 -0800)
commit12fa55ccc49df52617d7454ba448c1876e189bac
tree5eceb0df03440c77bb1a28a6aeaf26381644fc8a
parentc0d04e9112ad59d73f23f3b0f6726c5e798dfcbf
hwmon: (lm87) Fix overflow seen when writing voltage limit attributes

Writes into voltage limit attributes can overflow due to an unbound
multiplication.

Reviewed-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/lm87.c