]> www.infradead.org Git - users/sagi/libnvme.git/commit
tree: coverity fixes
authorHannes Reinecke <hare@suse.de>
Fri, 22 Apr 2022 09:42:47 +0000 (11:42 +0200)
committerHannes Reinecke <hare@suse.de>
Fri, 22 Apr 2022 09:49:06 +0000 (11:49 +0200)
commita06f440069c93f0d76c3479e66478d8ad45679c0
treef0d8743893a4e38f5e642243fcc866afea5db502
parent963dbe849ea097f83eec86135b296f2154f65bf2
tree: coverity fixes

Coverity found some resource leaks and a possible out-of-bounds access
in nvme_ctrl_lookup_subsystem_name() where we could overflow the
'path' variable.

Signed-off-by: Hannes Reinecke <hare@suse.de>
src/nvme/tree.c