]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virsh: avoid heap corruption leading to virsh abort
authorJim Meyering <meyering@redhat.com>
Mon, 7 May 2012 19:22:09 +0000 (21:22 +0200)
committerJim Meyering <meyering@redhat.com>
Mon, 7 May 2012 19:40:38 +0000 (21:40 +0200)
commitc6694ab85c207e51c6f39cd958c4323b636d8d8d
tree7c4b4afa7728995e6a053b225c0cd1087843a2a5
parentcc0737713a8e1ad37fc9d5393b4ea514f7708138
virsh: avoid heap corruption leading to virsh abort

* tools/virsh.c (vshParseSnapshotDiskspec): Fix off-by-3 memmove
that would corrupt heap when parsing escaped --diskspec comma.
Bug introduced via commit v0.9.4-260-g35d52b5.
tools/virsh.c