Fix address violation when disassembling a corrupt RL78 binary.
authorNick Clifton <nickc@redhat.com>
Thu, 15 Jun 2017 11:37:01 +0000 (12:37 +0100)
committerNick Clifton <nickc@redhat.com>
Thu, 15 Jun 2017 11:37:01 +0000 (12:37 +0100)
commit63323b5b23bd83fa7b04ea00dff593c933e9b0e3
tree847e43e1cb1360659a92c2d8c04b4d29bcb73f88
parent76800cba595efc3fe95a446c2d664e42ae4ee869
Fix address violation when disassembling a corrupt RL78 binary.

PR binutils/21588
* rl78-decode.opc (OP_BUF_LEN): Define.
(GETBYTE): Check for the index exceeding OP_BUF_LEN.
(rl78_decode_opcode): Use OP_BUF_LEN as the length of the op_buf
array.
* rl78-decode.c: Regenerate.
opcodes/ChangeLog
opcodes/rl78-decode.c
opcodes/rl78-decode.opc
This page took 0.024999 seconds and 4 git commands to generate.