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] Fix 'xm info' (sizeof(param) doesn't do that one might h

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Fix 'xm info' (sizeof(param) doesn't do that one might hope).
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 09 Sep 2005 18:40:11 +0000
Delivery-date: Fri, 09 Sep 2005 18:38:38 +0000
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/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 shand@xxxxxxxxxxxxxxxxxxxxxxxxxxx
# Node ID 41a74438bcba3d1c0649cc202b30777a60a168e1
# Parent  813c37b68376f5629df85d663fff6515f8dafa72
Fix 'xm info' (sizeof(param) doesn't do that one might hope). 

Signed-off-by: Steven Hand <steven@xxxxxxxxxxxxx>

diff -r 813c37b68376 -r 41a74438bcba xen/arch/x86/setup.c
--- a/xen/arch/x86/setup.c      Fri Sep  9 17:40:39 2005
+++ b/xen/arch/x86/setup.c      Fri Sep  9 18:36:48 2005
@@ -568,7 +568,7 @@
     
     *(p-1) = 0;
 
-    BUG_ON((p - info) > sizeof(info));
+    BUG_ON((p - info) > sizeof(xen_capabilities_info_t));
 }
 
 /*

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Fix 'xm info' (sizeof(param) doesn't do that one might hope)., Xen patchbot -unstable <=