]> err.no Git - linux-2.6/commit
[PATCH] hwmon: Fix missing boundary check when setting W83627THF in0 limits
authorYuan Mu <Ymu@winbond.com.tw>
Wed, 23 Nov 2005 23:44:21 +0000 (15:44 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 24 Nov 2005 07:04:26 +0000 (23:04 -0800)
commit2723ab91cb4019def10bdb01b0fecb85e6ac7884
tree753a9a0096bb1e41d79e5ef58370d7cfa8152228
parent1adc123079207bf9ba5bcf3dbf52bcdb22f82c7c
[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: Linus Torvalds <torvalds@osdl.org>
drivers/hwmon/w83627hf.c