Guenter Roeck 6b101116ae 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 <khali@linux-fr.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
2012-01-16 22:51:47 +01:00
..
2012-01-05 08:19:34 -08:00
2011-03-31 11:26:23 -03:00
2009-12-14 21:17:26 +01:00
2012-01-05 08:19:34 -08:00
2011-01-12 21:55:11 +01:00
2012-01-05 08:19:34 -08:00
2012-01-16 22:51:45 +01:00
2012-01-05 08:19:34 -08:00
2012-01-05 08:19:33 -08:00
2012-01-05 08:19:35 -08:00
2011-07-25 21:46:11 +02:00
2012-01-05 08:19:34 -08:00
2009-12-14 21:17:27 +01:00
2009-12-14 21:17:27 +01:00
2011-03-14 22:39:11 -07:00
2009-12-14 21:17:26 +01:00
2011-07-25 21:46:09 +02:00
2012-01-05 08:19:34 -08:00
2009-12-14 21:17:26 +01:00
2009-12-14 21:17:27 +01:00
2009-12-14 21:17:26 +01:00