kernel-aes67/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
adm1025.c
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
atxp1.c [PATCH] I2C: use time_after in 3 chip drivers 2005-07-29 13:12:50 -07:00
ds1621.c
fscher.c
fscpos.c [PATCH] I2C: use time_after in 3 chip drivers 2005-07-29 13:12:50 -07:00
gl518sm.c
gl520sm.c [PATCH] I2C: use time_after in 3 chip drivers 2005-07-29 13:12:50 -07:00
it87.c
Kconfig
lm63.c
lm75.c
lm75.h
lm77.c
lm78.c
lm80.c
lm83.c
lm85.c
lm87.c
lm90.c
lm92.c
Makefile
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
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
w83l785ts.c
w83627ehf.c
w83627hf.c
w83781d.c