diff -Nur xen-unstable.orig/tools/libxc/xc_domain.c xen-unstable/tools/libxc/xc_domain.c --- xen-unstable.orig/tools/libxc/xc_domain.c 2005-06-12 20:13:42.000000000 -0700 +++ xen-unstable/tools/libxc/xc_domain.c 2005-06-15 18:31:24.000000000 -0700 @@ -77,6 +77,8 @@ dom0_op_t op; int rc = 0; + memset(info, 0, max_doms*sizeof(xc_dominfo_t)); + for ( nr_doms = 0; nr_doms < max_doms; nr_doms++ ) { op.cmd = DOM0_GETDOMAININFO;