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 -- Libvir-list mailing list Libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list