From: Ian Jackson Subject: Re: [PATCH 4/7] libxc: Prevent dereferencing NULL pointers returned from xc_dom_allocate() Date: Fri, 3 Jul 2015 16:17:23 +0100 Message-ID: <21910.42883.167736.737230@mariner.uk.xensource.com> References: <1435772232-39085-1-git-send-email-Jennifer.Herbert@citrix.com> <1435772232-39085-5-git-send-email-Jennifer.Herbert@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1435772232-39085-5-git-send-email-Jennifer.Herbert@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: Jennifer Herbert Cc: stefano.stabellini@eu.citrix.com, wei.liu2@citrix.com, ian.campbell@citrix.com, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org Jennifer Herbert writes ("[Xen-devel] [PATCH 4/7] libxc: Prevent dereferencing NULL pointers returned from xc_dom_allocate()"): > The return from xc_dom_allocate is not checked for a NULL value. > This patch fixes this, causing it to return from the function with an error. Acked-by: Ian Jackson