From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH] tools: Fix wild memory allocations from c/s 250f0b4 and 85d78b4 Date: Thu, 21 May 2015 15:53:15 +0100 Message-ID: <1432219995.10746.61.camel@citrix.com> References: <1431953844-32035-1-git-send-email-andrew.cooper3@citrix.com> <20150518130311.GB9503@zion.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20150518130311.GB9503@zion.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Wei Liu Cc: Andrew Cooper , Boris Ostrovsky , Ian Jackson , Xen-devel List-Id: xen-devel@lists.xenproject.org On Mon, 2015-05-18 at 14:03 +0100, Wei Liu wrote: > On Mon, May 18, 2015 at 01:57:24PM +0100, Andrew Cooper wrote: > > These changesets cause the respective libxc functions to unconditonally > > dereference their max_cpus/nodes parameters as part of initial memory > > allocations. It will fail at obtaining the correct number of cpus/nodes from > > Xen, as the guest handles will not be NULL. > > > > Signed-off-by: Andrew Cooper > > CC: Ian Campbell > > CC: Ian Jackson > > CC: Wei Liu > > CC: Boris Ostrovsky > > > > Acked-by: Wei Liu Applied, thanks.