From: Keir Fraser Subject: Re: bug in xenbus_dev.c? Date: Sun, 21 Dec 2008 08:48:13 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: James Harper , "List: Xen Developers" List-Id: xen-devel@lists.xenproject.org On 21/12/2008 03:32, "James Harper" wrote: > The code at A is only executed if 'msg_type == XS_TRANSACTION_START', > but isn't it possible for B to be executed in the > non-XS_TRANSACTION_START code path, resulting in kfree(NULL)? kfree(NULL) is valid and a no-op. -- Keir