Re: [Qemu-devel] [PATCH] qcow2: Fix access after end of array

2010-02-19 Thread Anthony Liguori
On 02/16/2010 08:54 AM, Kevin Wolf wrote: If a write requests crosses a L2 table boundary and all clusters until the end of the L2 table are usable for the request, we must not look at the next L2 entry because we already have arrived at the end of the array. Signed-off-by: Kevin Wolf Appl

[Qemu-devel] [PATCH] qcow2: Fix access after end of array

2010-02-16 Thread Kevin Wolf
If a write requests crosses a L2 table boundary and all clusters until the end of the L2 table are usable for the request, we must not look at the next L2 entry because we already have arrived at the end of the array. Signed-off-by: Kevin Wolf --- block/qcow2-cluster.c |8 ++-- 1 files c