kernel-ark/drivers
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
..
acorn
acpi Merge ../to-linus-stable/ 2005-08-15 15:49:00 -04:00
atm
base [PATCH] Fix manual binding infinite loop 2005-08-17 22:02:25 -07:00
block [PATCH] cfq-iosched.c: minor fixes 2005-08-24 10:22:44 -07:00
bluetooth
cdrom
char [PATCH] Kconfig fix (sparc32 drivers/char dependencies) 2005-08-23 18:43:43 -07:00
cpufreq
crypto
dio
eisa
fc4
firmware
hwmon [PATCH] drivers/hwmon/*: kfree() correct pointers 2005-08-26 16:30:30 -07:00
i2c [PATCH] Build fix for the Sibyte I2C driver 2005-08-09 12:08:21 -07:00
ide [PATCH] serverworks: add support for new southbridge IDE 2005-08-18 22:30:35 +02:00
ieee1394
infiniband [PATCH] Kconfig fix (infiniband and PCI) 2005-08-23 18:43:41 -07:00
input [PATCH] ns558 list handling fix 2005-08-10 11:03:02 -07:00
isdn [PATCH] Kconfig fix (HISAX_FRITZPCI on ppc64) 2005-08-23 18:43:40 -07:00
macintosh [PATCH] Kconfig fix (PMAC_BACKLIGHT on ppc64) 2005-08-23 18:43:40 -07:00
mca
md [PATCH] md: make sure resync gets started when array starts. 2005-08-23 11:44:30 -07:00
media [PATCH] Kconfig fix (arv) 2005-08-23 18:43:41 -07:00
message [PATCH] I2O: added pci_request_regions() before using the controller 2005-08-09 17:59:52 -07:00
misc
mmc [PATCH] wbsd version bump 2005-08-10 11:08:56 -07:00
mtd
net [PATCH] emac netpoll fix 2005-08-23 18:43:45 -07:00
nubus
oprofile
parisc
parport [PATCH] Kconfig fix (parport_pc on m32r) 2005-08-23 18:43:41 -07:00
pci Ignore disabled ROM resources at setup 2005-08-26 10:49:22 -07:00
pcmcia [PATCH] missing include in pcmcia_resource.c 2005-08-23 18:43:43 -07:00
pnp [PATCH] broken error path in drivers/pnp/card.c 2005-08-18 08:43:59 -07:00
s390 [PATCH] s390 __CHECKER__ ifdefs 2005-08-23 18:43:46 -07:00
sbus [SPARC]: envctrl: ERR_PTR() --> PTR_ERR() 2005-08-09 14:43:14 -07:00
scsi Merge head 'upstream-fixes' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev 2005-08-23 20:00:17 -07:00
serial [PATCH] m32r_sio gcc4 fixes 2005-08-23 18:43:44 -07:00
sh
sn
tc
telephony
usb [PATCH] usbnet oops fix 2005-08-23 19:59:38 -07:00
video [PATCH] Kconfig fix (VGA console on arm/versatile) 2005-08-23 18:43:42 -07:00
w1 [PATCH] w1: more debug level decrease. 2005-08-12 12:55:02 -07:00
zorro
Kconfig
Makefile