Re: [Qemu-devel] [PATCH v1 2/3] qcow2: fix offset overflow

2014-01-20 Thread Kevin Wolf
Am 19.01.2014 um 17:12 hat Max Reitz geschrieben: > On 30.12.2013 06:29, Hu Tao wrote: > >When cluster size is big enough it can lead offset overflow > >in qcow2_alloc_clusters_at(). This patch fixes it. > > > >Signed-off-by: Hu Tao > >--- > > block/qcow2-refcount.c | 7 ++- > > 1 file change

Re: [Qemu-devel] [PATCH v1 2/3] qcow2: fix offset overflow

2014-01-19 Thread Max Reitz
On 30.12.2013 06:29, Hu Tao wrote: When cluster size is big enough it can lead offset overflow in qcow2_alloc_clusters_at(). This patch fixes it. Signed-off-by: Hu Tao --- block/qcow2-refcount.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/block/qcow2-refcount.c

Re: [Qemu-devel] [PATCH v1 2/3] qcow2: fix offset overflow

2014-01-06 Thread Hu Tao
On Mon, Dec 30, 2013 at 01:29:08PM +0800, Hu Tao wrote: > When cluster size is big enough it can lead offset overflow > in qcow2_alloc_clusters_at(). This patch fixes it. ping. and be more descriptive: The allocation each time is stopped at L2 table boundary(see handle_alloc()), so the possible m

[Qemu-devel] [PATCH v1 2/3] qcow2: fix offset overflow

2013-12-29 Thread Hu Tao
When cluster size is big enough it can lead offset overflow in qcow2_alloc_clusters_at(). This patch fixes it. Signed-off-by: Hu Tao --- block/qcow2-refcount.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/block/qcow2-refcount.c b/block/qcow2-refcount.c index c974abe.