kvx: fix kvx_reassemble_bundle index 8 out of bounds
authorPaul Iannetta <piannetta@kalrayinc.com>
Thu, 24 Aug 2023 08:39:14 +0000 (10:39 +0200)
committerAlan Modra <amodra@gmail.com>
Thu, 24 Aug 2023 10:33:23 +0000 (20:03 +0930)
commitf1917fc63166d73a9d0930d96468e486a49c666d
tree54d62e13c6cf4c252b0a968600a91ead0bd2fe0f
parent476dd29dc60b6dc3aec0e29ce2150202cf85f7a8
kvx: fix kvx_reassemble_bundle index 8 out of bounds

opcodes/
* kvx-dis.c (print_insn_kvx): Change the loop condition so that
wordcount is always less than KVXMAXBUNDLEWORDS.
(decode_prologue_epilogue_bundle): Likewise.
opcodes/kvx-dis.c