On Wed, 13 Sep 2023 00:07:21 +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.
> 
> Both `policy->last_governor` and `default_governor` are expected to be
> NUL-terminated which is shown by their heavy usage with other string
> apis like `strcmp`.
> 
> [...]

Applied to for-next/hardening, thanks!

[1/1] cpufreq: refactor deprecated strncpy
      https://git.kernel.org/kees/c/598b1b1c8f35

Take care,

-- 
Kees Cook


Reply via email to