]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: storagefile: Tolerate NULL path when looking up volume in chain
authorPeter Krempa <pkrempa@redhat.com>
Thu, 12 Oct 2017 17:26:10 +0000 (19:26 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 17 Oct 2017 04:19:18 +0000 (06:19 +0200)
commite3fb414e77c23a0c454678185516d718ab7044bb
tree4788318de2e647fbe5d37e8414ad7d06984964e9
parent9cc8d6ee9ef373181a9886a0cdc9ab3acbc29e32
util: storagefile: Tolerate NULL path when looking up volume in chain

chain->path may be NULL e.g. for NBD drives, so the check needs to avoid
dereferencing the path in such case
src/util/virstoragefile.c