Fix an illegal memory access when attempting to disassemble a corrupt TIC30 binary.
authorNick Clifton <nickc@redhat.com>
Tue, 11 May 2021 10:29:58 +0000 (11:29 +0100)
committerNick Clifton <nickc@redhat.com>
Tue, 11 May 2021 10:29:58 +0000 (11:29 +0100)
commita680affc635af50db5b0cb8e389b54b057691ec4
tree9ddeb404fc3f2f79d68fb1893d022c0cd8e35f0c
parent22604fe675b25b3ffca56e44f2c0ff378e5c6104
Fix an illegal memory access when attempting to disassemble a corrupt TIC30 binary.

PR 27840
* tic30-dis.c (print_insn_tic30): Prevent attempts to read beyond
the end of the code buffer.
opcodes/ChangeLog
opcodes/tic30-dis.c