On 26.03.2014 13:06, Stefan Hajnoczi wrote:
From: Kevin Wolf <kw...@redhat.com>This avoids an unbounded allocation. Signed-off-by: Kevin Wolf <kw...@redhat.com> --- block/qcow2-snapshot.c | 4 ++++ block/qcow2.c | 4 +--- block/qcow2.h | 4 ++++ tests/qemu-iotests/080 | 15 ++++++++++++++- tests/qemu-iotests/080.out | 6 ++++++ 5 files changed, 29 insertions(+), 4 deletions(-)
Reviewed-by: Max Reitz <mre...@redhat.com>