[PATCH] nvme: fix a potential invalid pointer dereference
Chaitanya Kulkarni
chaitanyak at nvidia.com
Tue Jan 31 13:38:40 PST 2023
On 1/31/23 08:38, Maurizio Lombardi wrote:
> In nvme_alloc_io_tag_set(), the connect_q pointer should be set to NULL
> in case of error to avoid potential invalid pointer dereferences.
>
> Signed-off-by: Maurizio Lombardi <mlombard at redhat.com>
> ---
Looks good.
Reviewed-by: Chaitanya Kulkarni <kch at nvidia.com>
-ck
More information about the Linux-nvme
mailing list