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
..
2005-08-07 14:23:42 +01:00
2005-08-15 15:49:00 -04:00
2005-07-20 12:01:46 -07:00
2005-08-17 22:02:25 -07:00
2005-08-24 10:22:44 -07:00
2005-08-06 12:36:51 +02:00
2005-07-27 16:26:20 -07:00
2005-08-23 18:43:43 -07:00
2005-07-28 09:43:56 -07:00
2005-07-06 13:54:09 -07:00
2005-06-20 15:15:32 -07:00
2005-06-20 15:15:32 -07:00
2005-07-30 09:47:53 -05:00
2005-07-28 08:39:02 -07:00
2005-08-26 16:30:30 -07:00
2005-08-09 12:08:21 -07:00
2005-08-18 22:30:35 +02:00
2005-07-27 16:26:08 -07:00
2005-08-23 18:43:41 -07:00
2005-08-10 11:03:02 -07:00
2005-08-23 18:43:40 -07:00
2005-08-23 18:43:40 -07:00
2005-06-25 16:24:56 -07:00
2005-08-23 11:44:30 -07:00
2005-08-23 18:43:41 -07:00
2005-08-09 17:59:52 -07:00
2005-07-12 16:01:02 -07:00
2005-08-10 11:08:56 -07:00
2005-07-27 16:26:08 -07:00
2005-08-23 18:43:45 -07:00
2005-04-16 15:20:36 -07:00
2005-07-27 16:26:20 -07:00
2005-06-27 21:52:39 -07:00
2005-08-23 18:43:41 -07:00
2005-08-26 10:49:22 -07:00
2005-08-23 18:43:43 -07:00
2005-08-18 08:43:59 -07:00
2005-08-23 18:43:46 -07:00
2005-08-09 14:43:14 -07:00
2005-08-23 20:00:17 -07:00
2005-08-23 18:43:44 -07:00
2005-06-20 15:15:35 -07:00
2005-06-21 18:46:32 -07:00
2005-04-16 15:20:36 -07:00
2005-07-07 18:24:07 -07:00
2005-08-23 19:59:38 -07:00
2005-08-23 18:43:42 -07:00
2005-08-12 12:55:02 -07:00
2005-06-20 15:15:35 -07:00
2005-07-12 15:54:36 -07:00
2005-07-11 14:14:31 -07:00