]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Fix parser checking of storage pool device
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 3 Mar 2010 18:47:12 +0000 (18:47 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 4 Mar 2010 11:57:06 +0000 (11:57 +0000)
commitce5ced1d00d64e23c27f21e543feb8b8fe697306
tree3b370a36c79e63fca39d4e9661e71bf65d7c6e0a
parente609aae673b51e8ea78dfe2e5b3a11bf67fc1a0a
Fix parser checking of storage pool device

The storage backend implementations all presume that the XML parser
is validating correctness of the source specification. The check for
a source device was lost at some point. This allowed for a potential
crash in the disk backend. Re-introduce the sanity check

* src/conf/storage_conf.c: Re-add check for source device
src/conf/storage_conf.c