From: Greg KH <gregkh@linuxfoundation.org>
To: ovidiu.panait@windriver.com
Cc: stable@vger.kernel.org, Dinghao Liu <dinghao.liu@zju.edu.cn>,
Sean Young <sean@mess.org>,
Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Subject: Re: [PATCH 5.10 1/3] media: dvbdev: Fix memleak in dvb_register_device
Date: Mon, 19 Jun 2023 09:50:21 +0200 [thread overview]
Message-ID: <2023061912-framing-cheesy-5390@gregkh> (raw)
In-Reply-To: <20230612133907.2999114-1-ovidiu.panait@windriver.com>
On Mon, Jun 12, 2023 at 04:39:05PM +0300, ovidiu.panait@windriver.com wrote:
> From: Dinghao Liu <dinghao.liu@zju.edu.cn>
>
> commit 167faadfcf9339088910e9e85a1b711fcbbef8e9 upstream.
>
> When device_create() fails, dvbdev and dvbdevfops should
> be freed just like when dvb_register_media_device() fails.
>
> Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn>
> Signed-off-by: Sean Young <sean@mess.org>
> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
> Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
> ---
> drivers/media/dvb-core/dvbdev.c | 3 +++
> 1 file changed, 3 insertions(+)
All queued up, thanks.
greg k-h
prev parent reply other threads:[~2023-06-19 7:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-12 13:39 [PATCH 5.10 1/3] media: dvbdev: Fix memleak in dvb_register_device ovidiu.panait
2023-06-12 13:39 ` [PATCH 5.10 2/3] media: dvbdev: fix error logic at dvb_register_device() ovidiu.panait
2023-06-12 13:39 ` [PATCH 5.10 3/3] media: dvb-core: Fix use-after-free due to race " ovidiu.panait
2023-06-19 7:50 ` Greg KH [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2023061912-framing-cheesy-5390@gregkh \
--to=gregkh@linuxfoundation.org \
--cc=dinghao.liu@zju.edu.cn \
--cc=mchehab+huawei@kernel.org \
--cc=ovidiu.panait@windriver.com \
--cc=sean@mess.org \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox