linux/drivers/nvme
Keith Busch 5469f609be nvme: clear caller pointer on identify failure
[ Upstream commit 7e80eb792b ]

The memory allocated for the identification is freed on failure. Set
it to NULL so the caller doesn't have a pointer to that freed address.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-08-29 17:33:38 +02:00
..
common treewide: use get_random_u32() when possible 2022-10-11 17:42:58 -06:00
host nvme: clear caller pointer on identify failure 2024-08-29 17:33:38 +02:00
target nvmet-trace: avoid dereferencing pointer too early 2024-08-29 17:33:32 +02:00
Kconfig nvme: implement In-Band authentication 2022-08-02 17:14:49 -06:00
Makefile nvme: implement In-Band authentication 2022-08-02 17:14:49 -06:00