WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-4.0-testing] x86/32on64: zero-extend hypercall inde

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-4.0-testing] x86/32on64: zero-extend hypercall index before use in memory access (debug mode only)
From: "Xen patchbot-4.0-testing" <patchbot-4.0-testing@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 23 Dec 2010 11:35:21 -0800
Delivery-date: Thu, 23 Dec 2010 11:37:04 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-4.0-testing] x86/32on64: zero-extend hypercall index before use in memory access (debug mode only), Xen patchbot-4.0-testing <=