Jean Delvare 3fd1bb9baa [PATCH] hwmon: Off-by-one error in fscpos driver
Coverity uncovered an off-by-one error in the fscpos driver, in function
set_temp_reset(). Writing to the temp3_reset sysfs file will lead to an
array overrun, in turn causing an I2C write to a random register of the
FSC Poseidon chip. Additionally, writing to temp1_reset and temp2_reset
will not work as expected. The fix is straightforward.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-08-26 16:31:46 -07:00
..
2005-07-11 14:42:50 -07:00
2005-07-11 14:42:50 -07:00
2005-07-11 14:42:50 -07:00
2005-07-11 14:42:50 -07:00
2005-07-11 14:14:31 -07:00
2005-07-11 14:42:50 -07:00
2005-07-11 14:42:50 -07:00
2005-07-11 14:42:50 -07:00
2005-07-11 14:42:50 -07:00
2005-07-11 14:42:50 -07:00
2005-07-11 14:42:50 -07:00
2005-07-11 14:42:50 -07:00
2005-07-11 14:42:50 -07:00
2005-07-11 14:42:50 -07:00
2005-07-11 14:42:50 -07:00
2005-07-11 14:42:50 -07:00
2005-07-11 14:14:31 -07:00