]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Blank out invalid interface names with escaped letters etc.
authorStefan Berger <stefanb@us.ibm.com>
Wed, 31 Mar 2010 14:22:10 +0000 (10:22 -0400)
committerStefan Berger <stefanb@us.ibm.com>
Wed, 31 Mar 2010 14:22:10 +0000 (10:22 -0400)
commit2f646237dad4563887bf467ecf3ae87c9b7f429e
treefb66d684e1f6c1fa0db1b658e58cf6a1f5733987
parentffbfd2c8132d995219aa8feab886fd92893e2377
Blank out invalid interface names with escaped letters etc.

Check that interface names only contain valid characters. Blank them out
otherwise.
Valid characters in this code are currently a-z,A-Z,0-9, '-' and '_'.
src/conf/domain_conf.c
src/conf/domain_conf.h