Re: [Qemu-devel] [PATCH] qcow2-refcount: Sanitize refcount table entry

2014-03-10 Thread Stefan Hajnoczi
On Fri, Mar 07, 2014 at 11:10:12PM +0100, Max Reitz wrote: > When reading the refcount table entry in get_refcount(), only bits which > are actually significant for the refcount block offset should be taken > into account. > > Signed-off-by: Max Reitz > --- > block/qcow2-refcount.c | 3 ++- > 1

Re: [Qemu-devel] [PATCH] qcow2-refcount: Sanitize refcount table entry

2014-03-10 Thread Laszlo Ersek
On 03/07/14 23:10, Max Reitz wrote: > When reading the refcount table entry in get_refcount(), only bits which > are actually significant for the refcount block offset should be taken > into account. > > Signed-off-by: Max Reitz > --- > block/qcow2-refcount.c | 3 ++- > 1 file changed, 2 inserti

[Qemu-devel] [PATCH] qcow2-refcount: Sanitize refcount table entry

2014-03-07 Thread Max Reitz
When reading the refcount table entry in get_refcount(), only bits which are actually significant for the refcount block offset should be taken into account. Signed-off-by: Max Reitz --- block/qcow2-refcount.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/block/qcow2-refc