]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
fabrics: fix 'nvme discover' segfault if sysfs path is not available
authorMartin George <marting@netapp.com>
Sat, 30 Oct 2021 09:43:22 +0000 (15:13 +0530)
committerMartin George <marting@netapp.com>
Sat, 30 Oct 2021 09:43:22 +0000 (15:13 +0530)
commit1490c6a86ca8363f3d12a06298e47dbb5a539b70
tree048d6f14ea920832cb39e26845e26452b054a4f9
parent30ed221ffbf8aac25f4695089581a7dbc1781955
fabrics: fix 'nvme discover' segfault if sysfs path is not available

Avoid dereferencing connect_args strings if the corresponding nvme
sysfs paths are not available.

Signed-off-by: Martin George <marting@netapp.com>
fabrics.c