]> git.proxmox.com Git - mirror_qemu.git/commit
disas/i386: Avoid NULL pointer dereference in error case
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 3 Mar 2017 15:50:29 +0000 (15:50 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 7 Mar 2017 14:33:51 +0000 (14:33 +0000)
commit3f168b5d353fa68baab55ea0c6ba791f0df027dc
tree3aacbb365856de56b9ca8e7a3bed05fadd5d6072
parent6815a8a00a8f3fd380fb5f87b934694c78d20ec4
disas/i386: Avoid NULL pointer dereference in error case

In a code path where we hit an internal disassembler error, execution
would subsequently attempt to dereference a NULL pointer.  This
should never happen, but avoid the crash.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1488556233-31246-3-git-send-email-peter.maydell@linaro.org
disas/i386.c