]> git.proxmox.com Git - mirror_qemu.git/commit
target/i386: Generate #UD for LOCK on a register increment
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 28 Mar 2019 10:47:50 +0000 (10:47 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 9 Apr 2019 12:29:32 +0000 (13:29 +0100)
commit8cb2ca3d7479748587313f0b34034a3f8aa08c92
treeea526cd781cb244789b8c0ce639c7243ee79abfb
parent120cba7ff13d61a60366d314d265f5a9b8faae8a
target/i386: Generate #UD for LOCK on a register increment

Fix a TCG crash due to attempting an atomic increment
operation without having set up the address first.
This is a similar case to that dealt with in commit
e84fcd7f662a0d8198703, and we fix it in the same way.

Fixes: https://bugs.launchpad.net/qemu/+bug/1807675
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 20190328104750.25046-1-peter.maydell@linaro.org
target/i386/translate.c