From: Tim Deegan Subject: Re: [PATCH] libxc: remove tests of alloca() return value Date: Fri, 17 Feb 2012 13:38:19 +0000 Message-ID: <20120217133819.GB57907@ocelot.phlegethon.org> References: <1329480642-27378-1-git-send-email-david.vrabel@citrix.com> <20120217132447.GA57907@ocelot.phlegethon.org> <4F3E5703.1080407@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: <4F3E5703.1080407@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: David Vrabel Cc: "xen-devel@lists.xensource.com" , Santosh Jodh List-Id: xen-devel@lists.xenproject.org At 13:32 +0000 on 17 Feb (1329485571), David Vrabel wrote: > On 17/02/12 13:24, Tim Deegan wrote: > > At 12:10 +0000 on 17 Feb (1329480642), David Vrabel wrote: > >> From: David Vrabel > >> > >> alloca() does not return NULL on an allocation failure > > > > Nack: on some BSD systems it does. > > xc_linux_osdep.c is only built if CONFIG_Linux is set. My apologies - I didn't see that this was in os-specific code. Tim.