Messages in this thread | | | From | Jonathan Corbet <> | Subject | Re: [PATCH] docs: networking: Replace strncpy() with strscpy() | Date | Fri, 04 Jun 2021 11:22:10 -0600 |
| |
Kees Cook <keescook@chromium.org> writes:
> Replace example code's use of strncpy() with strscpy() functions. Using > strncpy() is considered deprecated: > https://www.kernel.org/doc/html/latest/process/deprecated.html#strncpy-on-nul-terminated-strings > > Signed-off-by: Kees Cook <keescook@chromium.org> > --- > Documentation/input/joydev/joystick-api.rst | 2 +- > Documentation/networking/packet_mmap.rst | 2 +- > Documentation/networking/tuntap.rst | 2 +- > 3 files changed, 3 insertions(+), 3 deletions(-)
Applied, thanks.
jon
| |