aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/dec_and_lock.c
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2005-08-25 18:43:37 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2005-08-26 16:31:46 -0700
commit3fd1bb9baa394856b112e5edbfd3893d92dd1149 (patch)
treea193631316e25b1d697f232eeeb5afd6ddcc8fb6 /lib/dec_and_lock.c
parent[PATCH] ppc32 8xx: fix m8xx_ide_init() #ifdef (diff)
downloadwireguard-linux-3fd1bb9baa394856b112e5edbfd3893d92dd1149.tar.xz
wireguard-linux-3fd1bb9baa394856b112e5edbfd3893d92dd1149.zip
[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>
Diffstat (limited to 'lib/dec_and_lock.c')
0 files changed, 0 insertions, 0 deletions