]> git.karo-electronics.de Git - karo-tx-linux.git/commit
memstick: use after free in msb_disk_release()
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 25 Oct 2012 01:14:35 +0000 (12:14 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 1 Nov 2012 04:23:57 +0000 (15:23 +1100)
commit04e5e554d3bf834029f4cc0fe73f83db4b1824b1
tree7bc92e74e657750c329b6f85faa69a6f5b9abc82
parent1c52c7888f91bede07151a4231a27771505c7c49
memstick: use after free in msb_disk_release()

The original code dereferenced "msb" after freeing it.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Maxim Levitsky <maximlevitsly@gmail.com>
Cc: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/memstick/core/ms_block.c