This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Commit: Fix size of operand array in TIC30 disassembler
- From: Nick Clifton <nickc at redhat dot com>
- To: binutils at sourceware dot org
- Date: Tue, 29 Oct 2019 15:35:18 +0000
- Subject: Commit: Fix size of operand array in TIC30 disassembler
Hi Guys.
My previous patch to fix the TIC30 disassembler missed a spot.
Fixed like this:
Cheers
Nick
2019-10-29 Nick Clifton <nickc@redhat.com>
* tic30-dis.c (print_branch): Correct size of operand array.
diff --git a/opcodes/tic30-dis.c b/opcodes/tic30-dis.c
index a28be8307f..29948f4019 100644
--- a/opcodes/tic30-dis.c
+++ b/opcodes/tic30-dis.c
@@ -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}