]> www.infradead.org Git - users/sagi/libnvme.git/commit
tree: Handle NULL hostid in nvme_lookup_host()
authorTomas Bzatek <tbzatek@redhat.com>
Wed, 1 Dec 2021 17:15:59 +0000 (18:15 +0100)
committerTomas Bzatek <tbzatek@redhat.com>
Wed, 1 Dec 2021 17:20:04 +0000 (18:20 +0100)
commit6e9b35774807f99a437aa267a5d68dd12e1db6fe
tree96cd3c7ee77b57725e50f161202c721fd0bb7d2e
parente104b997a796a4794819d1825905aafe97bbd16f
tree: Handle NULL hostid in nvme_lookup_host()

When hostid is specified for lookup and some of the tree
host records carry a NULL, avoid a segfault here on strcmp().
src/nvme/tree.c