Re: [PATCH] mm/kmemleak: Replace strncpy() with strscpy()
From: Catalin Marinas
Date: Thu Jul 11 2024 - 14:11:20 EST
On Tue, Jul 09, 2024 at 05:13:08PM -0700, Kees Cook wrote:
> Replace the depreciated[1] strncpy() calls with strscpy(). Uses of
> object->comm do not depend on the padding side-effect.
>
> Link: https://github.com/KSPP/linux/issues/90 [1]
> Signed-off-by: Kees Cook <kees@xxxxxxxxxx>
Acked-by: Catalin Marinas <catalin.marinas@xxxxxxx>
(usually Andrew picks the kmemleak patches up)