Stefan Hajnoczi
e80bba4b51
ACPI / Battery: avoid acpi_battery_add() use-after-free
...
When acpi_battery_add_fs() fails the error handling code does not clean
up completely. Moreover, it does not return resulting in a
use-after-free.
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Len Brown <len.brown@intel.com>
2011-07-16 18:54:59 -04:00
..
2011-05-29 11:19:16 -07:00
2011-05-25 08:39:44 -07:00
2011-01-12 05:00:07 -05:00
2010-12-14 00:22:14 -05:00
2010-03-30 22:02:32 +09:00
2011-03-23 01:36:45 -04:00
2011-05-25 08:39:44 -07:00
2011-07-16 18:54:59 -04:00
2010-10-08 22:37:46 -04:00
2011-05-29 02:21:08 -04:00
2011-03-22 23:20:35 -04:00
2009-08-28 19:57:27 -04:00
2010-03-30 22:02:32 +09:00
2011-05-29 01:50:40 -04:00
2011-05-29 01:50:40 -04:00
2011-01-12 04:24:40 -05:00
2011-03-18 18:22:20 -04:00
2011-05-29 04:40:39 -04:00
2010-10-15 15:53:27 +02:00
2011-01-12 04:48:45 -05:00
2011-01-07 01:18:00 -05:00
2010-05-19 22:40:24 -04:00
2011-05-29 01:50:04 -04:00
2011-05-29 11:19:16 -07:00
2011-05-29 11:19:16 -07:00
2011-02-16 12:13:06 +01:00
2011-02-24 19:58:42 +01:00
2011-05-29 04:38:48 -04:00
2010-02-22 16:21:02 -08:00
2010-10-15 22:03:36 -04:00
2011-03-18 18:22:21 -04:00
2011-05-10 15:43:37 -07:00
2010-03-30 22:02:32 +09:00
2011-01-12 05:05:39 -05:00
2011-01-07 01:17:41 -05:00
2011-05-29 02:17:56 -04:00
2011-03-02 20:56:53 -05:00
2011-05-29 03:38:57 -04:00
2011-05-04 11:50:57 -04:00
2010-12-11 02:01:47 -05:00
2011-05-02 14:16:47 +02:00
2011-03-22 23:52:49 -04:00
2011-01-12 00:36:17 -05:00
2010-05-06 02:38:25 -04:00
2007-12-14 15:14:06 -05:00
2011-04-26 11:33:18 +02:00
2011-03-23 02:34:54 -04:00
2010-10-19 13:44:37 -04:00
2011-05-29 01:50:04 -04:00
2010-03-14 20:58:38 -04:00
2011-01-12 04:48:45 -05:00
2010-03-30 22:02:32 +09:00
2011-02-12 01:40:16 +01:00
2011-05-10 10:16:21 +02:00
2011-02-12 01:39:53 +01:00