Fix array overrun when disassembling corrupt TIC30 binaries.
* tic30-dis.c (print_branch): Correct size of operand array.
This commit is contained in:
parent
9adb259150
commit
efea62b446
@ -1,3 +1,7 @@
|
||||
2019-10-29 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
* tic30-dis.c (print_branch): Correct size of operand array.
|
||||
|
||||
2019-10-29 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
* d30v-dis.c (print_insn): Check that operand index is valid
|
||||
|
@ -607,7 +607,7 @@ print_branch (disassemble_info *info,
|
||||
unsigned long insn_word,
|
||||
struct instruction *insn)
|
||||
{
|
||||
char operand[2][13] =
|
||||
char operand[2][OPERAND_BUFFER_LEN] =
|
||||
{
|
||||
{0},
|
||||
{0}
|
||||
|
Loading…
Reference in New Issue
Block a user