[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y0zfPKAgQSrYZg5o@kroah.com>
Date: Mon, 17 Oct 2022 06:51:08 +0200
From: Greg KH <gregkh@...uxfoundation.org>
To: Yang Yingliang <yangyingliang@...wei.com>
Cc: linux-kernel@...r.kernel.org, rafael@...nel.org
Subject: Re: [PATCH] kobject: fix possible memory leak in
kset_create_and_add()
On Mon, Oct 17, 2022 at 10:33:27AM +0800, Yang Yingliang wrote:
> If kset_register() fails in kset_create_and_add(), the name allocated
> in kset_create() will be leaked.
How is kset_create_and_add() failing? Is this in a real kernel, or
created with a fake fault injection?
thanks,
greg k-h
Powered by blists - more mailing lists