On Mon, Sep 10, 2018 at 5:19 AM, Mauro Carvalho Chehab <mchehab+sams...@kernel.org> wrote: > The implementation of strscpy() is more robust and safer. > > That's now the recommended way to copy NUL terminated strings.
This looks fine since I don't see anything using the strlcpy() return value (the return value meaning between strlcpy() and strscpy() differs). Reviewed-by: Kees Cook <keesc...@chromium.org> -Kees -- Kees Cook Pixel Security