aboutsummaryrefslogtreecommitdiff
path: root/opcodes/aarch64-opc-2.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2019-09-03 09:53:25 +0100
committerNick Clifton <nickc@redhat.com>2019-09-03 09:53:25 +0100
commit1e4b5e7d354a41276cb8dfbaae79915e1730dbd8 (patch)
tree160ea2d4f2e38d86148b1b01d9c49569aefe31cc /opcodes/aarch64-opc-2.c
parent6591bf0131d1d1c8c0e4de59ca2dd739dda86ddd (diff)
downloadgdb-1e4b5e7d354a41276cb8dfbaae79915e1730dbd8.zip
gdb-1e4b5e7d354a41276cb8dfbaae79915e1730dbd8.tar.gz
gdb-1e4b5e7d354a41276cb8dfbaae79915e1730dbd8.tar.bz2
Fix a potential buffer overrun in the MMIX disassembler when processing a corrupt input file.
PR 24958 * mmix-dis.c (MAX_REG_NAME_LEN): Define. (MAX_SPEC_REG_NAME_LEN): Define. (struct mmix_dis_info): Use defined constants for array lengths. (get_reg_name): New function. (get_sprec_reg_name): New function. (print_insn_mmix): Use new functions.
Diffstat (limited to 'opcodes/aarch64-opc-2.c')
0 files changed, 0 insertions, 0 deletions