From: Ian Jackson Subject: Re: [PATCH 1/2] libxl: Fix error path in libxl_device_events_handler Date: Wed, 19 Feb 2014 14:08:34 +0000 Message-ID: <21252.47842.950252.77709@mariner.uk.xensource.com> References: <21252.47381.304145.583259@mariner.uk.xensource.com> <1392818610-30007-1-git-send-email-ian.jackson@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1392818610-30007-1-git-send-email-ian.jackson@eu.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: xen-devel@lists.xensource.com, Ian Campbell , coverity@xenproject.org Cc: George Dunlap List-Id: xen-devel@lists.xenproject.org Ian Jackson writes ("[PATCH 1/2] libxl: Fix error path in libxl_device_events_handler"): > libxl_device_events_handler would fail to call AO_ABORT if it failed; > instead it would simply return rc. (This leaves the egc etc. from the > now-abolished stack frame potentially live, and leaves the ctx > locked.) > > In xl, this is of no consequence, because xl will immediately exit in > this situation. This is very likely to be true in any other callers > (of which we don't know of any, anyway). FAOD, I see no need for this to be in 4.4, although it should go in iff we are currently accepting trivial bugfixes. Ian.