Re: [Qemu-devel] [PATCH 3/4] qcow2: Sanitize refcount table size

2013-11-19 Thread Eric Blake
On 11/17/2013 07:18 AM, Max Reitz wrote: Make sure there were no overflows when calculating the in-memory refcount table size from the number of its clusters in-file. Signed-off-by: Max Reitz mre...@redhat.com --- block/qcow2.c | 8 1 file changed, 8 insertions(+) Reviewed-by:

[Qemu-devel] [PATCH 3/4] qcow2: Sanitize refcount table size

2013-11-17 Thread Max Reitz
Make sure there were no overflows when calculating the in-memory refcount table size from the number of its clusters in-file. Signed-off-by: Max Reitz mre...@redhat.com --- block/qcow2.c | 8 1 file changed, 8 insertions(+) diff --git a/block/qcow2.c b/block/qcow2.c index