[libvirt] [PATCH 3/5] add XML parsing for vm status file

Guido Günther agx at sigxcpu.org
Thu Dec 18 14:53:17 UTC 2008


On Thu, Dec 18, 2008 at 10:23:39AM +0000, Daniel P. Berrange wrote:
> No, not guarenteed to be safe because the 'config_xml' string could 
> contain '%' sequences that'll be interpreted by sprintf. In any case
> why not just use
> 
>    virBufferAdd(&buf, config_xml)
Updated version using virBufferAdd attached.
 -- Guido
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-add-XML-parsing-for-vm-status-file.patch
Type: text/x-diff
Size: 11419 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20081218/1838f595/attachment-0001.bin>


More information about the libvir-list mailing list