Re: [libvirt] [PATCHv2 5/5] Strip control codes in virBufferEscapeString

2015-04-15 Thread Peter Krempa
On Tue, Apr 14, 2015 at 13:28:50 +0200, Ján Tomko wrote: These cannot be represented in XML. We have been stripping them, but only if the string had characters that needed escaping: ' Extend the strcspn check to include control codes, and strip them even if we don't do any escaping.

[libvirt] [PATCHv2 5/5] Strip control codes in virBufferEscapeString

2015-04-14 Thread Ján Tomko
These cannot be represented in XML. We have been stripping them, but only if the string had characters that needed escaping: ' Extend the strcspn check to include control codes, and strip them even if we don't do any escaping. https://bugzilla.redhat.com/show_bug.cgi?id=1184131