]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: virDomainDefValidateInternal prohibit some characters in shmem name
authorSimon Kobyda <skobyda@redhat.com>
Wed, 1 Aug 2018 15:50:03 +0000 (17:50 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Wed, 8 Aug 2018 11:44:44 +0000 (13:44 +0200)
commit9ff956b26aba64e1519a338197891ac53f033e7f
tree0f7e7f3d27cde49fabef2d76aa85093ec94d3fdb
parente63aa3c6648213f5b3ecd974c5365ad61403adfe
conf: virDomainDefValidateInternal prohibit some characters in shmem name

Validate that the provided XML shmem name is not directory specific to "."  or
".." as well as ensure that there is no path separator '/' in the name.

https://bugzilla.redhat.com/show_bug.cgi?id=1192400

Signed-off-by: Simon Kobyda <skobyda@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
docs/formatdomain.html.in
src/conf/domain_conf.c