]> 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>
Mon, 29 Oct 2012 03:17:13 +0000 (14:17 +1100)
commit99f319a86d896131c27859e74bc135e9837f7ac7
tree12f38278421955682ebd6c239d087db1a7354ce7
parent01fc827c1e5b1fde331e24c180442173a22138ba
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