From: Ian Jackson Subject: Re: [PATCH] libxc: Free logger after printing error message Date: Thu, 22 May 2014 17:04:33 +0100 Message-ID: <21374.8209.31970.932129@mariner.uk.xensource.com> References: <1400272877-11767-1-git-send-email-andryuk@aero.org> <21369.60264.785282.466399@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <21369.60264.785282.466399@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: Jason Andryuk , xen-devel@lists.xen.org, Stefano Stabellini , Ian Campbell List-Id: xen-devel@lists.xenproject.org Ian Jackson writes ("Re: [PATCH] libxc: Free logger after printing error message"): > Jason Andryuk writes ("[PATCH] libxc: Free logger after printing error message"): > > On error, PERROR calls the already destroyed logger, which can segfault. > > Re-order the calls, so the logger is still available. > > I have also added this to my list of patches to be backported. Now backported to 4.4 and will be pushed there shortly. It's inapplicable to 4.3. Thanks, Ian.