diff options
author | Ingo van Lil <[email protected]> | 2008-03-24 12:29:44 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2008-03-24 19:22:19 -0700 |
commit | 2875fb65f8e40401c4b781ebc5002df10485f635 (patch) | |
tree | fe111c02b7aa2c943e7f824aadd6e7fa06da3d0f /Documentation/filesystems/configfs/configfs_example.c | |
parent | 1312848e92a0686cb5124aa86ea58d55ba795742 (diff) |
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 <[email protected]>
Acked-by: Joern Engel <[email protected]>
Cc: David Woodhouse <[email protected]>
Cc: <[email protected]>
Cc: Andrew Morton <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'Documentation/filesystems/configfs/configfs_example.c')
0 files changed, 0 insertions, 0 deletions