diff options
author | Nick Clifton <nickc@redhat.com> | 2017-06-15 12:37:01 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2017-06-15 12:37:01 +0100 |
commit | 63323b5b23bd83fa7b04ea00dff593c933e9b0e3 (patch) | |
tree | 847e43e1cb1360659a92c2d8c04b4d29bcb73f88 /gdb/common/xml-utils.h | |
parent | 76800cba595efc3fe95a446c2d664e42ae4ee869 (diff) | |
download | gdb-63323b5b23bd83fa7b04ea00dff593c933e9b0e3.zip gdb-63323b5b23bd83fa7b04ea00dff593c933e9b0e3.tar.gz gdb-63323b5b23bd83fa7b04ea00dff593c933e9b0e3.tar.bz2 |
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.
Diffstat (limited to 'gdb/common/xml-utils.h')
0 files changed, 0 insertions, 0 deletions