On 6/3/23 03:13, Richard Henderson wrote:
Pass the address of the last byte to be changed, rather than
the first address past the last byte.  This avoids overflow
when the last page of the address space is involved.

Signed-off-by: Richard Henderson <richard.hender...@linaro.org>
---
  include/exec/cpu-all.h |  2 +-
  accel/tcg/user-exec.c  | 11 +++++------
  linux-user/mmap.c      |  2 +-
  3 files changed, 7 insertions(+), 8 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>


Reply via email to