diff options
author | 2024-08-20 09:41:34 +1000 | |
---|---|---|
committer | 2024-08-21 09:10:42 +1000 | |
commit | 5b73b248a16dab43b74c4d2dbe4f589e109fdc85 (patch) | |
tree | 8b187fba5f0440e5c813981acda30600bde99711 /hw/avr/arduino.c | |
parent | linux-user: Handle short reads in mmap_h_gt_g (diff) | |
download | qemu-5b73b248a16dab43b74c4d2dbe4f589e109fdc85.tar.xz qemu-5b73b248a16dab43b74c4d2dbe4f589e109fdc85.zip |
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>
Diffstat (limited to 'hw/avr/arduino.c')
0 files changed, 0 insertions, 0 deletions