[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] Fix 'xm info' (sizeof(param) doesn't do that one might hope).
# 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
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |