Fix address violation when disassembling a corrupt binary.
authorNick Clifton <nickc@redhat.com>
Wed, 14 Jun 2017 15:50:03 +0000 (16:50 +0100)
committerNick Clifton <nickc@redhat.com>
Wed, 14 Jun 2017 15:50:03 +0000 (16:50 +0100)
commitae87f7e73eba29bd38b3a9684a10b948ed715612
tree2623d2073e3b3b8ff831da059af8e7d019833d51
parent6394c606997f88acfc80de4dff33a4ae2de987b4
Fix address violation when disassembling a corrupt binary.

PR binutils/21580
binutils * objdump.c (disassemble_bytes): Check for buffer overrun when
printing out rae insns.

ld * testsuite/ld-nds32/diff.d: Adjust expected output.
binutils/objdump.c
ld/ChangeLog
ld/testsuite/ld-nds32/diff.d