[libvirt] [PATCH] virt-aa-helper should require <uuid> in XML

Jamie Strandboge jamie at canonical.com
Thu Nov 11 19:33:56 UTC 2010


When <uuid> is not in the XML, a virUUIDGenerate() ends up being called
which is unnecessary and can lead to crashes if /dev/urandom isn't
available because virRandomInitialize() is not called within
virt-aa-helper. This patch adds verify_xpath_context() and updates
caps_mockup() to use it.

This is https://launchpad.net/bugs/672943

-- 
Jamie Strandboge             | http://www.canonical.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-vah-require-uuid.patch
Type: text/x-patch
Size: 1914 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20101111/4d38a8bb/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20101111/4d38a8bb/attachment-0001.sig>


More information about the libvir-list mailing list