On Tue, 12 Sep 2023 22:52:04 +0000, Justin Stitt wrote: > `strncpy` is deprecated for use on NUL-terminated destination strings [1]. > > We need to prefer more robust and less ambiguous string interfaces. > > `obj_desc->(type|label)` are expected to be NUL-terminated strings as > per "include/linux/fsl/mc.h +143" > | ... > | * struct fsl_mc_obj_desc - Object descriptor > | * @type: Type of object: NULL terminated string > | ... > > [...]
Applied to for-next/hardening, thanks! [1/1] bus: fsl-mc: refactor deprecated strncpy https://git.kernel.org/kees/c/fafafc55eb30 Take care, -- Kees Cook