linux/drivers/memstick/core
Qinglang Miao e3e9ced5c9 memstick: fix a double-free bug in memstick_check
kfree(host->card) has been called in put_device so that
another kfree would raise cause a double-free bug.

Fixes: 0193383a58 ("memstick: core: fix device_register() error handling")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Qinglang Miao <miaoqinglang@huawei.com>
Link: https://lore.kernel.org/r/20201120074846.31322-1-miaoqinglang@huawei.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
2020-11-24 11:26:55 +01:00
..
Kconfig memstick: Fix Kconfig indentation 2019-11-21 12:25:59 +01:00
Makefile
memstick.c memstick: fix a double-free bug in memstick_check 2020-11-24 11:26:55 +01:00
ms_block.c ms_block: fix spelling mistake "doesn'" -> "doesn't" 2020-09-07 09:11:28 +02:00
ms_block.h
mspro_block.c memstick: mspro_block: remove unneeded semicolon 2020-11-16 11:59:28 +01:00