Fix an illegal memory access when disassembling a corrupt MeP file.
commit71f646f2b3fc6e273fd17b5fdc9ba6bae242b330
authorNick Clifton <nickc@redhat.com>
Wed, 15 Mar 2023 13:06:23 +0000 (15 13:06 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 15 Mar 2023 13:06:23 +0000 (15 13:06 +0000)
treed22b239000ec1f84e1f748eef8966fb0e92e3b94
parent771860451862e89df453cd3b635a00d47d602533
Fix an illegal memory access when disassembling a corrupt MeP file.

  PR 30231
  * mep.opc (mep_print_insn): Check for an out of range index.
cpu/ChangeLog
cpu/mep.opc
opcodes/ChangeLog
opcodes/mep-dis.c