[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <169601317381.3009991.4885445233179317899.b4-ty@chromium.org>
Date: Fri, 29 Sep 2023 11:46:14 -0700
From: Kees Cook <keescook@...omium.org>
To: Thierry Reding <thierry.reding@...il.com>,
Jonathan Hunter <jonathanh@...dia.com>,
Justin Stitt <justinstitt@...gle.com>
Cc: Kees Cook <keescook@...omium.org>, linux-tegra@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-hardening@...r.kernel.org
Subject: Re: [PATCH] firmware: tegra: bpmp: refactor deprecated strncpy
On Wed, 13 Sep 2023 19:38:44 +0000, Justin Stitt wrote:
> `strncpy` is deprecated for use on NUL-terminated destination strings [1].
>
> We should prefer more robust and less ambiguous string interfaces.
>
> It seems like the filename stored at `namevirt` is expected to be
> NUL-terminated.
>
> [...]
Applied to for-next/hardening, thanks!
[1/1] firmware: tegra: bpmp: refactor deprecated strncpy
https://git.kernel.org/kees/c/5a4b8c16f53f
Take care,
--
Kees Cook
Powered by blists - more mailing lists