[PATCH] nvme: check for valid data from from nvme_identify_ns() before using it

Maurizio Lombardi mlombard at redhat.com
Tue Nov 21 23:45:02 PST 2023


út 21. 11. 2023 v 19:14 odesílatel Keith Busch <kbusch at kernel.org> napsal:
> The concept sounds good, though you are leaking 'id' in the new error case.
>

We have the same problem in the nvme_ns_info_from_identify() function.

Maurizio




More information about the Linux-nvme mailing list