[libvirt] [PATCH 4/4] qemu: Reject attempts to create snapshots with names containig '/'

Eric Blake eblake at redhat.com
Mon Jan 21 19:05:59 UTC 2013


On 01/17/2013 06:12 AM, Peter Krempa wrote:
> The snapshot name is used to create path to the definition save file.
> When the name contains slashes the creation of the file fails. Reject
> such names.

Should we also reject "." and ".." as snapshot names, since those also
conflict with our usage of turning the snapshot name into a file name?

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130121/d0bac7e8/attachment-0001.sig>


More information about the libvir-list mailing list