]> www.infradead.org Git - users/dwmw2/qemu.git/commit
target/tricore: Add CHECK_REG_PAIR() for insn accessing 64 bit regs
authorBastian Koppelmann <kbastian@mail.uni-paderborn.de>
Mon, 12 Jun 2023 11:32:44 +0000 (13:32 +0200)
committerBastian Koppelmann <kbastian@mail.uni-paderborn.de>
Wed, 21 Jun 2023 16:09:54 +0000 (18:09 +0200)
commit6991777ec4b2a344d47bddec62744bedd9883d78
treed04c1b31892ba4484472d2131d9afe4918618e58
parent5434557ffc5b46f178ccf325517db2b1f5e2c037
target/tricore: Add CHECK_REG_PAIR() for insn accessing 64 bit regs

some insns were not checking if an even index was used to access a 64
bit register. In the worst case that could lead to a buffer overflow as
reported in https://gitlab.com/qemu-project/qemu/-/issues/1698.

Reported-by: Siqi Chen <coc.cyqh@gmail.com>
Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Message-Id: <20230612113245.56667-4-kbastian@mail.uni-paderborn.de>
target/tricore/translate.c