Re: [PATCH v2 03/17] linux-user: Check for overflow in access_ok

2020-06-25 Thread Peter Maydell
On Fri, 5 Jun 2020 at 05:17, Richard Henderson wrote: > > Verify that addr + size - 1 does not wrap around. > > Signed-off-by: Richard Henderson > --- > linux-user/qemu.h | 17 - > 1 file changed, 12 insertions(+), 5 deletions(-) Reviewed-by: Peter Maydell thanks -- PMM

[PATCH v2 03/17] linux-user: Check for overflow in access_ok

2020-06-04 Thread Richard Henderson
Verify that addr + size - 1 does not wrap around. Signed-off-by: Richard Henderson --- linux-user/qemu.h | 17 - 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/linux-user/qemu.h b/linux-user/qemu.h index d36b18b678..2bf35e66ac 100644 --- a/linux-user/qemu.h +++