https://github.com/torvalds/linux
Revision 3fd1bb9baa394856b112e5edbfd3893d92dd1149 authored by Jean Delvare on 25 August 2005, 16:43:37 UTC, committed by Linus Torvalds on 26 August 2005, 23:31:46 UTC
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>
1 parent 566ecb9
History
Tip revision: 3fd1bb9baa394856b112e5edbfd3893d92dd1149 authored by Jean Delvare on 25 August 2005, 16:43:37 UTC
[PATCH] hwmon: Off-by-one error in fscpos driver
Tip revision: 3fd1bb9

README

back to top