]> git.ipfire.org Git - thirdparty/libvirt.git/commit
remote: Fix client crash when URI path is empty when using ssh
authorPeter Krempa <pkrempa@redhat.com>
Fri, 14 Jun 2013 08:41:29 +0000 (10:41 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 14 Jun 2013 08:41:29 +0000 (10:41 +0200)
commit7710d236b223c4f7bcb0a348c296d59a5955d9bd
tree9a9514d353d679ec4cc017020d2872e8905f092a
parent22d81ceb46ea4b83ad817c29b2b04df27a09c671
remote: Fix client crash when URI path is empty when using ssh

The parsed path in the URI may be NULL resulting into:

  $ virsh -c qemu+ssh:// list
  Segmentation fault (core dumped)

Introduced by 22d81ceb46ea4b83ad817c29b2b04df27a09c671
src/remote/remote_driver.c