Ingo van Lil 2875fb65f8 mtd: memory corruption in block2mtd.c
The block2mtd driver (drivers/mtd/devices/block2mtd.c) will kfree an on-stack
pointer when handling an invalid argument line (e.g.
block2mtd=/dev/loop0,xxx).

The kfree was added some time ago when "name" was dynamically allocated.

Signed-off-by: Ingo van Lil <inguin@gmx.de>
Acked-by: Joern Engel <joern@lazybastard.org>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: <stable@kernel.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-03-24 19:22:19 -07:00
..
2008-03-18 00:26:07 -04:00
2008-03-17 07:56:31 -04:00
2008-03-10 16:33:33 -07:00
2008-02-05 09:44:23 -08:00
2008-03-12 14:15:00 +01:00
2008-02-08 09:22:38 -08:00
2008-03-24 19:22:19 -07:00
2008-03-15 19:17:12 -07:00
2008-02-13 16:21:19 -08:00
2008-03-03 10:47:13 -08:00
2008-03-19 18:53:37 -07:00
2008-02-26 14:12:09 +09:00
2008-03-18 01:22:10 -04:00
2008-02-21 15:27:07 -08:00
2008-03-19 18:53:37 -07:00
2008-03-17 22:58:21 +11:00
2008-03-04 16:35:12 -08:00