Re: [Qemu-devel] [PATCH 2/7] sd: fix card size checking on R/W accesses

2011-07-29 Thread andrzej zaborowski
Hi Vincent, On 26 July 2011 01:19, Vincent Palatin wrote: > We need to check that we are not crossing the boundaries of the card for > the current access not for the next one which might not happen. > > Signed-off-by: Vincent Palatin > --- >  hw/sd.c |   22 -- >  1 files chan

[Qemu-devel] [PATCH 2/7] sd: fix card size checking on R/W accesses

2011-07-25 Thread Vincent Palatin
We need to check that we are not crossing the boundaries of the card for the current access not for the next one which might not happen. Signed-off-by: Vincent Palatin --- hw/sd.c | 22 -- 1 files changed, 12 insertions(+), 10 deletions(-) diff --git a/hw/sd.c b/hw/sd.c in