kernel-fxtec-pro1x/drivers/hwmon
Alexey Dobriyan 1f57ff89fe [PATCH] drivers/hwmon/*: kfree() correct pointers
The adm9240 driver, in adm9240_detect(), allocates a structure.  The
error path attempts to kfree() ->client field of it (second one),
resulting in an oops (or slab corruption) if the hardware is not present.

->client field in adm1026, adm1031, smsc47b397 and smsc47m1 is the first in
${HWMON}_data structure, but fix them too.

Signed-off-by: Jonathan Corbet <corbet@lwn.net
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-08-26 16:30:30 -07:00
..
adm1021.c [PATCH] I2C: Move hwmon drivers (2/3) 2005-07-11 14:42:50 -07:00
adm1025.c [PATCH] I2C: Move hwmon drivers (2/3) 2005-07-11 14:42:50 -07:00
adm1026.c [PATCH] drivers/hwmon/*: kfree() correct pointers 2005-08-26 16:30:30 -07:00
adm1031.c [PATCH] drivers/hwmon/*: kfree() correct pointers 2005-08-26 16:30:30 -07:00
adm9240.c [PATCH] drivers/hwmon/*: kfree() correct pointers 2005-08-26 16:30:30 -07:00
asb100.c [PATCH] I2C: Move hwmon drivers (2/3) 2005-07-11 14:42:50 -07:00
atxp1.c [PATCH] I2C: use time_after in 3 chip drivers 2005-07-29 13:12:50 -07:00
ds1621.c [PATCH] I2C: Move hwmon drivers (2/3) 2005-07-11 14:42:50 -07:00
fscher.c [PATCH] I2C: Move hwmon drivers (2/3) 2005-07-11 14:42:50 -07:00
fscpos.c [PATCH] I2C: use time_after in 3 chip drivers 2005-07-29 13:12:50 -07:00
gl518sm.c [PATCH] I2C: Move hwmon drivers (2/3) 2005-07-11 14:42:50 -07:00
gl520sm.c [PATCH] I2C: use time_after in 3 chip drivers 2005-07-29 13:12:50 -07:00
it87.c [PATCH] I2C: Move hwmon drivers (2/3) 2005-07-11 14:42:50 -07:00
Kconfig [PATCH] I2C: Move hwmon drivers (1/3) 2005-07-11 14:14:31 -07:00
lm63.c [PATCH] I2C: Move hwmon drivers (2/3) 2005-07-11 14:42:50 -07:00
lm75.c [PATCH] I2C: Move hwmon drivers (2/3) 2005-07-11 14:42:50 -07:00
lm75.h [PATCH] I2C: Move hwmon drivers (2/3) 2005-07-11 14:42:50 -07:00
lm77.c [PATCH] I2C: Move hwmon drivers (2/3) 2005-07-11 14:42:50 -07:00
lm78.c [PATCH] I2C: Move hwmon drivers (2/3) 2005-07-11 14:42:50 -07:00
lm80.c [PATCH] I2C: Move hwmon drivers (2/3) 2005-07-11 14:42:50 -07:00
lm83.c [PATCH] I2C: Move hwmon drivers (2/3) 2005-07-11 14:42:50 -07:00
lm85.c [PATCH] I2C: Move hwmon drivers (2/3) 2005-07-11 14:42:50 -07:00
lm87.c [PATCH] I2C: Move hwmon drivers (2/3) 2005-07-11 14:42:50 -07:00
lm90.c [PATCH] I2C: Move hwmon drivers (2/3) 2005-07-11 14:42:50 -07:00
lm92.c [PATCH] I2C: Move hwmon drivers (2/3) 2005-07-11 14:42:50 -07:00
Makefile [PATCH] I2C: Move hwmon drivers (1/3) 2005-07-11 14:14:31 -07:00
max1619.c [PATCH] I2C: Missing space in split strings 2005-07-29 13:12:50 -07:00
pc87360.c [PATCH] I2C: Missing space in split strings 2005-07-29 13:12:50 -07:00
sis5595.c [PATCH] I2C: Move hwmon drivers (2/3) 2005-07-11 14:42:50 -07:00
smsc47b397.c [PATCH] drivers/hwmon/*: kfree() correct pointers 2005-08-26 16:30:30 -07:00
smsc47m1.c [PATCH] drivers/hwmon/*: kfree() correct pointers 2005-08-26 16:30:30 -07:00
via686a.c [PATCH] I2C: Move hwmon drivers (2/3) 2005-07-11 14:42:50 -07:00
w83l785ts.c [PATCH] I2C: Move hwmon drivers (2/3) 2005-07-11 14:42:50 -07:00
w83627ehf.c [PATCH] I2C: Move hwmon drivers (2/3) 2005-07-11 14:42:50 -07:00
w83627hf.c [PATCH] I2C: Move hwmon drivers (2/3) 2005-07-11 14:42:50 -07:00
w83781d.c [PATCH] I2C: Move hwmon drivers (2/3) 2005-07-11 14:42:50 -07:00