Hi, This fixes a bug where a zero len is passed to mmap. It comes with an enhancement to the mmap test case.
Alex Bennée (2): linux-user/mmap.c: handle len = 0 maps correctly tests: add check_invalid_maps to test-mmap linux-user/mmap.c | 14 +++++++++++--- tests/tcg/multiarch/test-mmap.c | 16 +++++++++++++++- 2 files changed, 26 insertions(+), 4 deletions(-) -- 2.17.1