ubsan: crx: index 5 out of bounds for type 'operand_desc const[5]'
authorAlan Modra <amodra@gmail.com>
Thu, 26 Dec 2019 05:34:20 +0000 (16:04 +1030)
committerAlan Modra <amodra@gmail.com>
Thu, 26 Dec 2019 07:19:03 +0000 (17:49 +1030)
commit100b122fc125bdf1fe768a3331a0cd413c3d1261
tree59ee78d2faea1c0f5ae48595418fdb7a1ba0fcba
parent6c2ca6c25dbefd7192dac52e7fd156ae0f299f1f
ubsan: crx: index 5 out of bounds for type 'operand_desc const[5]'

* crx-dis.c (get_number_of_operands): Don't access operands[]
out of bounds.
opcodes/ChangeLog
opcodes/crx-dis.c