From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Jan Beulich" Subject: Re: [PATCH] dmar: Fix double free in error paths following c/s a8bc99b Date: Thu, 16 Jul 2015 14:22:06 +0100 Message-ID: <55A7CC1E0200007800091EB0@mail.emea.novell.com> References: <1437047823-24686-1-git-send-email-andrew.cooper3@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1437047823-24686-1-git-send-email-andrew.cooper3@citrix.com> Content-Disposition: inline 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: Yang Zhang , Elena Ufimtseva , Kevin Tian , Xen-devel List-Id: xen-devel@lists.xenproject.org >>> On 16.07.15 at 13:57, wrote: > Several error paths would end up freeing scope->devices twice. Of course it depends how you count, but I can spot exactly one broken case - in acpi_parse_dev_scope(). All other callers of scope_devices_free() free the container right afterwards afaics. Jan