# HG changeset patch
# User Keir Fraser <keir@xxxxxxx>
# Date 1292415245 0
# Node ID 66a6203d27fdd02c1b619343e25e4a3d379aaac9
# Parent 4e689840622fcae76b40d036ca5b3f6003f94997
x86/32on64: zero-extend hypercall index before use in memory access (debug mode
only)
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
xen-unstable changeset: 22540:d8279118b4bb
xen-unstable date: Wed Dec 15 12:10:31 2010 +0000
---
xen/arch/x86/x86_64/compat/entry.S | 3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)
diff -r 4e689840622f -r 66a6203d27fd xen/arch/x86/x86_64/compat/entry.S
--- a/xen/arch/x86/x86_64/compat/entry.S Wed Dec 15 12:13:47 2010 +0000
+++ b/xen/arch/x86/x86_64/compat/entry.S Wed Dec 15 12:14:05 2010 +0000
@@ -36,7 +36,8 @@ ENTRY(compat_hypercall)
pushq UREGS_rbx(%rsp); pushq %rcx; pushq %rdx; pushq %rsi; pushq %rdi
pushq UREGS_rbp+5*8(%rsp)
leaq compat_hypercall_args_table(%rip),%r10
- movq $6,%rcx
+ movl %eax,%eax
+ movl $6,%ecx
subb (%r10,%rax,1),%cl
movq %rsp,%rdi
movl $0xDEADBEEF,%eax
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|