Re: [libvirt] [PATCH 1/3] util: Add function to check if string contains some illegal chars

2016-10-20 Thread Michal Privoznik
On 20.10.2016 04:57, Sławek Kapłoński wrote: > This new function can be used to check if e.g. name of XML > node don't contains forbidden chars like "/" or "\n". > --- > src/libvirt_private.syms | 1 + > src/util/virxml.c| 28 > src/util/virxml.h| 3

[libvirt] [PATCH 1/3] util: Add function to check if string contains some illegal chars

2016-10-19 Thread Sławek Kapłoński
This new function can be used to check if e.g. name of XML node don't contains forbidden chars like "/" or "\n". --- src/libvirt_private.syms | 1 + src/util/virxml.c| 28 src/util/virxml.h| 3 +++ 3 files changed, 32 insertions(+) diff --git