From: Ian Jackson Subject: Re: [PATCH] libxl: Fix error handling in libxl_userdata_unlink Date: Wed, 8 Oct 2014 11:56:40 +0100 Message-ID: <21557.6248.673184.719283@mariner.uk.xensource.com> References: <5422aad1e5ef3_72bf92732c895b9@scan.coverity.com.mail> <1411569004-30623-1-git-send-email-ian.jackson@eu.citrix.com> <5422D7A6.5030201@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <5422D7A6.5030201@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: xen-devel@lists.xensource.com, Wei Liu , coverity@xenproject.org List-Id: xen-devel@lists.xenproject.org Andrew Cooper writes ("Re: [Xen-devel] [PATCH] libxl: Fix error handling in libxl_userdata_unlink"): > On 24/09/14 15:30, Ian Jackson wrote: > > (CCing security@ because they receive the Coverity reports. This is > > not a security problem AFAICT.) > > How about coverty@ which includes some of us not on securty@ ? Yes. > > - libxl__domain_userdata_lock *lock; > > + int rc; > > + libxl__domain_userdata_lock *lock = 0; > > Pointers should be initialised to NULL rather than 0. Changed. > With this change, Reviewed-by: Andrew Cooper Now pushed (with Ian C's ack, also). Ian.