This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] opcodes/metag-dis.c: Fix buffer overflow in MMOV disassembler.


A buffer in the disassembler code was sized too small which
caused erratic behaviour when disassembling certain instructions.

opcodes/ChangeLog:

2013-01-11  Will Newton <will.newton@imgtec.com>

	* metag-dis.c (REG_WIDTH): Increase to 64.

gas/testsuite/ChangeLog:

2013-01-11  Will Newton <will.newton@imgtec.com>

	* gas/metag/metadsp21.d: Fix expected MMOV disassembly.
---
 gas/testsuite/gas/metag/metadsp21.d |   12 ++++++------
 opcodes/metag-dis.c                 |    2 +-
 2 files changed, 7 insertions(+), 7 deletions(-)

Attachment: 0001-opcodes-metag-dis.c-Fix-buffer-overflow-in-MMOV-disa.patch
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]