diff options
author | Alan Modra <amodra@gmail.com> | 2020-01-06 08:52:39 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2020-01-06 21:53:16 +1030 |
commit | 660e62b1d9ca02e4ec7b18e8f0a0ff0707e540ac (patch) | |
tree | c6e6dd4219926ac7d44d2d0562879ca90f43d1a5 /sim/aarch64/memory.c | |
parent | 01335edbac3f0fa0c06d088598e09f602833de87 (diff) | |
download | gdb-660e62b1d9ca02e4ec7b18e8f0a0ff0707e540ac.zip gdb-660e62b1d9ca02e4ec7b18e8f0a0ff0707e540ac.tar.gz gdb-660e62b1d9ca02e4ec7b18e8f0a0ff0707e540ac.tar.bz2 |
PR25344, z80 disassembler recursion
PR 25344
* z80-dis.c (suffix): Don't use a local struct buffer copy.
Peek at next byte to prevent recursion on repeated prefix bytes.
Ensure uninitialised "mybuf" is not accessed.
(print_insn_z80): Don't zero n_fetch and n_used here,..
(print_insn_z80_buf): ..do it here instead.
Diffstat (limited to 'sim/aarch64/memory.c')
0 files changed, 0 insertions, 0 deletions