]> www.infradead.org Git - users/sagi/libnvme.git/commit
fabrics: check the read() return value
authorMaurizio Lombardi <mlombard@redhat.com>
Mon, 4 Mar 2024 14:05:15 +0000 (15:05 +0100)
committerDaniel Wagner <wagi@monom.org>
Tue, 5 Mar 2024 08:14:18 +0000 (09:14 +0100)
commitdd22963a614533e630968f2b6557d7ed93e0973c
tree87a84443c8b927ba14627d9271be8aad8e86fcb5
parent3bf34a6f0c8c6f501d7291c07945ff1ad05f7728
fabrics: check the read() return value

Do not pass to the is_dmi_uuid_valid() function an invalid len value
if read() fails.

Signed-off-by: Maurizio Lombardi <mlombard@redhat.com>
src/nvme/fabrics.c