[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <08829868-2c84-8ec9-936d-e6814edaf4c7@suse.com>
Date: Thu, 24 Nov 2022 16:40:21 +0100
From: Juergen Gross <jgross@...e.com>
To: Xiu Jianfeng <xiujianfeng@...wei.com>, boris.ostrovsky@...cle.com,
tglx@...utronix.de, mingo@...hat.com, bp@...en8.de,
dave.hansen@...ux.intel.com, hpa@...or.com, jeremy@...p.org
Cc: x86@...nel.org, xen-devel@...ts.xenproject.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 2/2] x86/xen: Fix memory leak in xen_init_lock_cpu()
On 23.11.22 16:58, Xiu Jianfeng wrote:
> In xen_init_lock_cpu(), the @name has allocated new string by kasprintf(),
> if bind_ipi_to_irqhandler() fails, it should be freed, otherwise may lead
> to a memory leak issue, fix it.
>
> Fixes: 2d9e1e2f58b5 ("xen: implement Xen-specific spinlocks")
> Signed-off-by: Xiu Jianfeng <xiujianfeng@...wei.com>
Reviewed-by: Juergen Gross <jgross@...e.com>
Juergen
Download attachment "OpenPGP_0xB0DE9DD628BF132F.asc" of type "application/pgp-keys" (3099 bytes)
Download attachment "OpenPGP_signature" of type "application/pgp-signature" (496 bytes)
Powered by blists - more mailing lists