commit | 9c153d3889767eb347a9b1719cc6f336faccdba9 | [log] [tgz] |
---|---|---|
author | Kees Cook <keescook@chromium.org> | Wed Jun 02 13:27:41 2021 -0700 |
committer | David S. Miller <davem@davemloft.net> | Thu Jun 03 14:15:10 2021 -0700 |
tree | 4e7f748d0dfcf0dde63765b6a3e4b38ef9d922a0 | |
parent | 5ff5622ea1f16d535f1be4e478e712ef48fe183b [diff] |
net: vlan: Avoid using strncpy() Use strscpy_pad() instead of strncpy() which 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> Signed-off-by: David S. Miller <davem@davemloft.net>