]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Forbid slashes in shmem name
authorMartin Kletzander <mkletzan@redhat.com>
Wed, 1 Feb 2017 16:14:00 +0000 (17:14 +0100)
committerMartin Kletzander <mkletzan@redhat.com>
Tue, 21 Feb 2017 11:47:24 +0000 (12:47 +0100)
commit1c06d0faba152170de664f3ff4017cf4b59b44e4
treec888d35883993393731b5ddfc177ea59bd58e0e9
parente441de669f02a15dcd67e75b3f5987321e087047
qemu: Forbid slashes in shmem name

With that users could access files outside /dev/shm.  That itself
isn't a security problem, but might cause some errors we want to
avoid.  So let's forbid slashes as we do with domain and volume names
and also mention that in the schema.

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

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
docs/schemas/domaincommon.rng
src/qemu/qemu_process.c