Prevent more potential illegal memory accesses in the RX disassembler.
authorNick Clifton <nickc@redhat.com>
Tue, 22 Oct 2019 11:01:45 +0000 (12:01 +0100)
committerNick Clifton <nickc@redhat.com>
Tue, 22 Oct 2019 11:01:45 +0000 (12:01 +0100)
commit6207ed28773381859319cf314eb9c4e0683c0773
tree537704b94393d233e4268de7bee4c42cf049491d
parentef0cc92e9cd7a589e441389167a8d4fb2fe46367
Prevent more potential illegal memory accesses in the RX disassembler.

* rx-dis.c (get_size_name): New function.  Provides safe
access to name array.
(get_opsize_name): Likewise.
(print_insn_rx): Use the accessor functions.
opcodes/ChangeLog
opcodes/rx-dis.c