From: Wei Liu Subject: Re: [PATCH] tools: Fix wild memory allocations from c/s 250f0b4 and 85d78b4 Date: Mon, 18 May 2015 14:03:11 +0100 Message-ID: <20150518130311.GB9503@zion.uk.xensource.com> References: <1431953844-32035-1-git-send-email-andrew.cooper3@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1431953844-32035-1-git-send-email-andrew.cooper3@citrix.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: Andrew Cooper Cc: Wei Liu , Boris Ostrovsky , Ian Jackson , Ian Campbell , Xen-devel List-Id: xen-devel@lists.xenproject.org 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