[libvirt] [PATCH v3 0/2] Forbid new-line char in name of networks

Sławek Kapłoński slawek at kaplonski.pl
Thu Oct 13 20:53:25 UTC 2016


v2: http://www.redhat.com/archives/libvir-list/2016-October/msg00451.html

Differences in v3:
* function to check string moved from src/util/virxml to src/util/virstring
* validation if name of network contains \n char moved from parsing XML to
  functions responsible for create/define new networks

Sławek Kapłoński (2):
  util: Add function to check if string contains some chars
  Forbid new-line char in name of new networks

 src/conf/network_conf.c     | 2 +-
 src/libvirt_private.syms    | 1 +
 src/network/bridge_driver.c | 6 ++++++
 src/util/virstring.c        | 9 +++++++++
 src/util/virstring.h        | 1 +
 5 files changed, 18 insertions(+), 1 deletion(-)

-- 
2.10.0




More information about the libvir-list mailing list