[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] xend: Correct indexing in xc_cpu_to_node_t map.
# HG changeset patch # User kfraser@xxxxxxxxxxxxxxxxxxxxx # Date 1188566054 -3600 # Node ID 5ee379a1f0d00f72a3a4ef1a38b6ef2abfffc80f # Parent 2f13d0f2b07cd3089860ee5b86c9c5b377915394 xend: Correct indexing in xc_cpu_to_node_t map. Signed-off-by: Beth Kon <eak@xxxxxxxxxx> --- tools/python/xen/lowlevel/xc/xc.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -r 2f13d0f2b07c -r 5ee379a1f0d0 tools/python/xen/lowlevel/xc/xc.c --- a/tools/python/xen/lowlevel/xc/xc.c Fri Aug 31 14:11:15 2007 +0100 +++ b/tools/python/xen/lowlevel/xc/xc.c Fri Aug 31 14:14:14 2007 +0100 @@ -685,7 +685,7 @@ static PyObject *pyxc_physinfo(XcObject char cpu_cap[128], *p=cpu_cap, *q=cpu_cap; int i, j, max_cpu_id; PyObject *ret_obj, *node_to_cpu_obj; - xc_cpu_to_node_t map[MAX_CPU_ID]; + xc_cpu_to_node_t map[MAX_CPU_ID + 1]; set_xen_guest_handle(info.cpu_to_node, map); info.max_cpu_id = MAX_CPU_ID; _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |