]> xenbits.xensource.com Git - libvirt.git/commit
virsh: fix snapshot-create-as to handle arbitrary names
authorEric Blake <eblake@redhat.com>
Wed, 10 Aug 2011 23:00:26 +0000 (17:00 -0600)
committerEric Blake <eblake@redhat.com>
Thu, 11 Aug 2011 03:54:20 +0000 (21:54 -0600)
commit6927887829f00ea61ab79432d89b029d0ff4fcf4
tree81fcb60fbaef767a3c06eaf04a86f4770b02df6c
parent0de75e855b0c37a7ef25370b19cabad34e679ce6
virsh: fix snapshot-create-as to handle arbitrary names

Found this working on the next patch to use xpath to parse
arbitrary names back out.

* tools/virsh.c (cmdSnapshotCreateAs): Escape user input.
tools/virsh.c