Fix a potential illegal array access in the D30V disassembler.
authorNick Clifton <nickc@redhat.com>
Tue, 29 Oct 2019 10:25:09 +0000 (10:25 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 29 Oct 2019 10:25:09 +0000 (10:25 +0000)
commit9adb25915092daa4096911d04fadb5d496c926a6
treedfc49676fa42e8825bd2b449eb735a97f14abf66
parent993a00a986d0795a3cbb7a2dd0c640d8e6d66734
Fix a potential illegal array access in the D30V disassembler.

* d30v-dis.c (print_insn): Check that operand index is valid
before attempting to access the operands array.
opcodes/ChangeLog
opcodes/d30v-dis.c