]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[PATCH] hwmon: Fix missing boundary check when setting W83627THF in0 limits
authorYuan Mu <Ymu@winbond.com.tw>
Mon, 14 Nov 2005 22:08:38 +0000 (23:08 +0100)
committerChris Wright <chrisw@osdl.org>
Thu, 24 Nov 2005 22:10:12 +0000 (14:10 -0800)
commit30b2b8ee1866188c1f86aefe7dedca4b9681772f
tree04713dab1bb9e6cfb495a8e0df1f7cb88909dab2
parentfb69773ded08e5b679db97a84aa7ce371c5f6208
[PATCH] hwmon: Fix missing boundary check when setting W83627THF in0 limits

Add SENSORS_LIMIT in store VCore limit functions. This fixes a potential
u8 overflow on out-of-range user input.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Chris Wright <chrisw@osdl.org>
drivers/hwmon/w83627hf.c