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
