Am 21.08.2015 um 01:00 hat Max Reitz geschrieben: > Example: > $ ./qemu-img create -f qcow2 /tmp/t.qcow2 64M > $ ./qemu-img amend -f qcow2 -o backing_file=/tmp/t.qcow2, -o help \ > /tmp/t.qcow2 > > This should not crash. This actually is tested by iotest 082, but not > caught due to the segmentation fault being silent (which is something > that needs to be fixed, too). > > Reported-by: Dr. David Alan Gilbert <dgilb...@redhat.com> > Cc: qemu-stable <qemu-sta...@nongnu.org> > Signed-off-by: Max Reitz <mre...@redhat.com> > --- > v2: > - Fix leak introduced by trying to be clever [Eric] > (thank you for catching this!)
Thanks, applied to the block branch. Kevin