From: Ian Campbell Subject: Re: [PATCH 1/2] libxl: Fix error path in libxl_device_events_handler Date: Wed, 12 Mar 2014 14:52:40 +0000 Message-ID: <1394635960.21145.104.camel@kazak.uk.xensource.com> References: <21252.47381.304145.583259@mariner.uk.xensource.com> <1392818610-30007-1-git-send-email-ian.jackson@eu.citrix.com> <21252.47842.950252.77709@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <21252.47842.950252.77709@mariner.uk.xensource.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: Ian Jackson Cc: George Dunlap , xen-devel@lists.xensource.com, coverity@xenproject.org List-Id: xen-devel@lists.xenproject.org On Wed, 2014-02-19 at 14:08 +0000, Ian Jackson wrote: > 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. Acked + applied both.