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-unstable] [IA64] Fix parameter check in do_hvm_op()

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [IA64] Fix parameter check in do_hvm_op()
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 07 Sep 2007 09:12:55 -0700
Delivery-date: Fri, 07 Sep 2007 09:17:33 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/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 Alex Williamson <alex.williamson@xxxxxx>
# Date 1186458047 21600
# Node ID cc83df4c96d60aad1508975b70b902f7deb9e635
# Parent  90c830835ec1111c333c501a173c78a584e6d048
[IA64] Fix parameter check in do_hvm_op()

Signed-off-by: KUWAMURA Shin'ya <kuwa@xxxxxxxxxxxxxx>
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@xxxxxxxxxxxxxx>
Signed-off-by: Tomonari Horikoshi <t.horikoshi@xxxxxxxxxxxxxx>
---
 xen/arch/ia64/vmx/vmx_hypercall.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 90c830835ec1 -r cc83df4c96d6 xen/arch/ia64/vmx/vmx_hypercall.c
--- a/xen/arch/ia64/vmx/vmx_hypercall.c Fri Aug 03 10:44:39 2007 -0600
+++ b/xen/arch/ia64/vmx/vmx_hypercall.c Mon Aug 06 21:40:47 2007 -0600
@@ -118,7 +118,7 @@ do_hvm_op(unsigned long op, XEN_GUEST_HA
         if (copy_from_guest(&a, arg, 1))
             return -EFAULT;
 
-        if (a.index > HVM_NR_PARAMS)
+        if (a.index >= HVM_NR_PARAMS)
             return -EINVAL;
 
         if (a.domid == DOMID_SELF) {

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [IA64] Fix parameter check in do_hvm_op(), Xen patchbot-unstable <=