commit | 5b73b248a16dab43b74c4d2dbe4f589e109fdc85 | [log] [tgz] |
---|---|---|
author | Richard Henderson <richard.henderson@linaro.org> | Tue Aug 20 09:41:34 2024 +1000 |
committer | Richard Henderson <richard.henderson@linaro.org> | Wed Aug 21 09:10:42 2024 +1000 |
tree | 8b187fba5f0440e5c813981acda30600bde99711 | |
parent | a4ad4a9d98f7fbde806f07da21e69f39e134cdf1 [diff] |
bsd-user: Handle short reads in mmap_h_gt_g In particular, if an image has a large bss, we can hit EOF before reading all bytes of the mapping. Mirror the similar change to linux-user. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-Id: <20240820050848.165253-3-richard.henderson@linaro.org>