This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Fix address violation when disassembling a corrupt RL78 binary.
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Thu, 15 Jun 2017 09:35:48 -0400
- Subject: [binutils-gdb] Fix address violation when disassembling a corrupt RL78 binary.
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 63323b5b23bd83fa7b04ea00dff593c933e9b0e3 ***
Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: 63323b5b23bd83fa7b04ea00dff593c933e9b0e3
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.