aboutsummaryrefslogtreecommitdiff
path: root/hw/avr/arduino.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2025-03-22 18:43:36 -0700
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2025-03-31 21:32:43 +0200
commit070a500cc0da70c1b4c62a6c95e41f0a1b19dc0b (patch)
treef81ae67496050524b348610a66545b0b48d1b43f /hw/avr/arduino.c
parentfb5bc76cae61b7c65e71ccf1c6027bf878f5b7dc (diff)
downloadqemu-070a500cc0da70c1b4c62a6c95e41f0a1b19dc0b.zip
qemu-070a500cc0da70c1b4c62a6c95e41f0a1b19dc0b.tar.gz
qemu-070a500cc0da70c1b4c62a6c95e41f0a1b19dc0b.tar.bz2
target/avr: Fix buffer read in avr_print_insn
Do not unconditionally attempt to read 4 bytes, as there may only be 2 bytes remaining in the translator cache. Cc: qemu-stable@nongnu.org Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-Id: <20250325224403.4011975-2-richard.henderson@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'hw/avr/arduino.c')
0 files changed, 0 insertions, 0 deletions