]> xenbits.xensource.com Git - people/iwj/xen.git/commit
x86/HVM: fix boundary check in hvmemul_insn_fetch() (again)
authorJan Beulich <jbeulich@suse.com>
Thu, 10 Aug 2017 10:37:24 +0000 (12:37 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 10 Aug 2017 10:37:24 +0000 (12:37 +0200)
commit58e8986267d976b00c60e0089baa2e5f66f16d3e
tree4d85f8cd10d9f106a1fad317fea67189c148283c
parent71b408939a5c638c322fa00196a38c7bcfc8f3b6
x86/HVM: fix boundary check in hvmemul_insn_fetch() (again)

Commit 5a992b670b ("x86/hvm: Fix boundary check in
hvmemul_insn_fetch()") went a little too far in its correction to
commit 0943a03037 ("x86/hvm: Fixes to hvmemul_insn_fetch()"): Keep the
start offset check, but restore the original end offset one.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Paul Durrant <paul.durrant@citrix.com>
xen/arch/x86/hvm/emulate.c