From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH] xen/arm: domain_vgic_init: Check xzalloc_* return Date: Fri, 21 Mar 2014 12:19:31 +0000 Message-ID: <1395404371.19839.14.camel@kazak.uk.xensource.com> References: <1395323486-9891-1-git-send-email-julien.grall@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WQyQC-0002LU-Qr for xen-devel@lists.xenproject.org; Fri, 21 Mar 2014 12:19:36 +0000 In-Reply-To: <1395323486-9891-1-git-send-email-julien.grall@linaro.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Julien Grall , Jan Beulich Cc: xen-devel@lists.xenproject.org, tim@xen.org, stefano.stabellini@citrix.com List-Id: xen-devel@lists.xenproject.org On Thu, 2014-03-20 at 13:51 +0000, Julien Grall wrote: > The allocations for shared_irqs and pending_irqs are not checked and use > later. This may lead to a Xen segfault if the hypervisor run out of memory. > > Signed-off-by: Julien Grall Acked + applied. > --- > This patch should be backported to Xen 4.4 I've added it to my notes, but also CCing Jan since I guess he will be the one to actually do it. Ian.