
20 Dec
2008
20 Dec
'08
8:20 a.m.
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