On Fri, 20 Nov 2020 at 08:44, Qinglang Miao wrote:
>
> kfree(host->card) has been called in put_device so that
> another kfree would raise cause a double-free bug.
>
> Fixes: 0193383a5833 ("memstick: core: fix device_register() error handling")
> Reported-by: Hulk Robot
> Signed-off-by: Qinglang
kfree(host->card) has been called in put_device so that
another kfree would raise cause a double-free bug.
Fixes: 0193383a5833 ("memstick: core: fix device_register() error handling")
Reported-by: Hulk Robot
Signed-off-by: Qinglang Miao
---
drivers/memstick/core/memstick.c | 1 -
1 file changed
2 matches
Mail list logo