diff options
author | Nick Clifton <nickc@redhat.com> | 2019-09-03 15:37:12 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2019-09-03 15:37:12 +0100 |
commit | f44b758d3133ef0a7f3131c1e12ed20feb33ee61 (patch) | |
tree | 90a04255f6557a078df9a4c0b4819468e3de6870 /opcodes/ip2k-opc.c | |
parent | 1e4b5e7d354a41276cb8dfbaae79915e1730dbd8 (diff) | |
download | gdb-f44b758d3133ef0a7f3131c1e12ed20feb33ee61.zip gdb-f44b758d3133ef0a7f3131c1e12ed20feb33ee61.tar.gz gdb-f44b758d3133ef0a7f3131c1e12ed20feb33ee61.tar.bz2 |
Fix buffer underrun bug in the TI C30 disassembler.
PR 24961
* tic30-dis.c (get_indirect_operand): Check for bufcnt being
greater than zero before indexing via (bufcnt -1).
Diffstat (limited to 'opcodes/ip2k-opc.c')
0 files changed, 0 insertions, 0 deletions