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

Guido Günther agx at sigxcpu.org
Sat Dec 20 13:20:44 UTC 2008


On Thu, Dec 18, 2008 at 03:53:17PM +0100, Guido Günther wrote:
> 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.
Applied now after an Ack from Daniel P. on IRC.
 -- Guido




More information about the libvir-list mailing list