Files
linux/mm
Catalin Marinas b2300b3b5d kmemleak: Do not return a pointer to an object that kmemleak did not get
commit 52c3ce4ec5 upstream.

The kmemleak_seq_next() function tries to get an object (and increment
its use count) before returning it. If it could not get the last object
during list traversal (because it may have been freed), the function
should return NULL rather than a pointer to such object that it did not
get.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Reported-by: Phil Carmody <ext-phil.2.carmody@nokia.com>
Acked-by: Phil Carmody <ext-phil.2.carmody@nokia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-06-23 15:24:00 -07:00
..
2009-04-01 08:59:13 -07:00
2010-07-05 11:10:42 -07:00
2009-06-16 19:47:28 -07:00
2010-01-06 15:05:22 -08:00
2010-05-12 14:57:00 -07:00
2010-12-09 13:26:39 -08:00
2009-09-22 07:17:35 -07:00
2010-10-28 21:44:18 -07:00
2010-12-09 13:27:02 -08:00
2010-09-26 17:21:27 -07:00
2007-10-20 01:27:18 +02:00
2009-10-01 16:11:12 -07:00
2010-08-26 16:41:46 -07:00
2009-06-23 12:50:05 -07:00
2010-01-22 15:18:41 -08:00
2010-01-18 10:19:11 -08:00