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

Will Newton will.newton@gmail.com
Fri Jan 11 17:02:00 GMT 2013


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(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-opcodes-metag-dis.c-Fix-buffer-overflow-in-MMOV-disa.patch
Type: application/octet-stream
Size: 4617 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20130111/58c430c0/attachment.obj>


More information about the Binutils mailing list