Guenter Roeck
20ecb499f6
hwmon: (coretemp) Avoid leaving around dangling pointer
...
Storing the struct temp_data pointer allocated from create_core_data()
when returning an error has the potential of leaving around a pointer
to freed memory. Reset it to NULL for error returns.
Reported-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Acked-by: Jean Delvare <khali@linux-fr.org>
2011-09-28 08:19:21 -07:00
..
2011-09-13 06:19:15 -07:00
2011-05-25 20:43:33 +02:00
2011-05-25 20:43:33 +02:00
2011-05-25 20:43:32 +02:00
2011-05-25 20:43:31 +02:00
2011-03-31 11:26:23 -03:00
2011-03-21 17:59:37 +01:00
2011-07-17 18:39:18 +02:00
2011-09-28 08:19:21 -07:00
2011-09-21 17:25:18 -07:00
2011-07-03 13:32:53 +02:00
2011-07-03 13:32:53 +02:00
2011-05-25 20:43:31 +02:00
2011-07-21 14:10:00 +02:00
2011-03-29 14:48:19 +02:00
2011-07-25 21:46:10 +02:00
2011-08-23 21:04:28 -07:00
2011-08-11 10:14:18 -07:00
2011-06-17 23:22:27 -07:00
2011-07-25 21:46:10 +02:00
2011-05-25 20:43:32 +02:00
2011-03-23 10:42:02 +01:00
2011-05-25 20:43:31 +02:00
2011-05-25 20:43:31 +02:00
2011-07-30 08:57:57 -10:00
2011-05-25 20:43:31 +02:00
2011-03-21 17:59:36 +01:00
2011-07-25 21:46:11 +02:00
2011-04-29 16:33:36 +02:00
2011-07-28 20:16:36 -07:00
2011-07-28 00:17:35 -07:00
2011-07-28 00:17:35 -07:00
2011-07-30 08:57:57 -10:00
2011-07-25 21:46:10 +02:00
2011-07-28 00:17:33 -07:00
2011-06-04 10:34:28 -07:00
2011-05-25 20:43:32 +02:00
2011-09-06 08:56:06 -07:00
2011-08-22 14:04:05 -07:00
2011-06-17 23:22:27 -07:00
2011-07-25 21:46:09 +02:00
2011-07-25 21:46:09 +02:00
2011-07-25 21:46:09 +02:00
2011-07-25 21:46:09 +02:00
2011-07-26 16:49:47 -07:00
2011-03-31 11:26:23 -03:00
2011-05-01 09:06:35 -07:00
2011-05-25 20:43:31 +02:00
2011-07-25 21:46:10 +02:00
2011-09-21 17:25:18 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00