[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <170853189530.559171.12608569719019318541.b4-ty@nvidia.com>
Date: Wed, 21 Feb 2024 17:21:27 +0100
From: Thierry Reding <thierry.reding@...il.com>
To: linux-tegra@...r.kernel.org,
kernel-janitors@...r.kernel.org,
Jonathan Hunter <jonathanh@...dia.com>,
Justin Stitt <justinstitt@...gle.com>,
Kees Cook <keescook@...omium.org>,
Mikko Perttunen <mperttunen@...dia.com>,
Thierry Reding <thierry.reding@...il.com>,
Markus Elfring <Markus.Elfring@....de>
Cc: LKML <linux-kernel@...r.kernel.org>,
cocci@...ia.fr
Subject: Re: [PATCH] firmware: tegra: bpmp: Return directly after a failed kzalloc() in get_filename()
From: Thierry Reding <treding@...dia.com>
On Mon, 25 Dec 2023 20:18:44 +0100, Markus Elfring wrote:
> The kfree() function was called in one case by
> the get_filename() function during error handling
> even if the passed variable contained a null pointer.
> This issue was detected by using the Coccinelle software.
>
> Thus return directly after a call of the function “kzalloc” failed
> at the beginning.
>
> [...]
Applied, thanks!
[1/1] firmware: tegra: bpmp: Return directly after a failed kzalloc() in get_filename()
commit: 1315848f1f8a0100cb6f8a7187bc320c5d98947f
Best regards,
--
Thierry Reding <treding@...dia.com>
Powered by blists - more mailing lists