summaryrefslogtreecommitdiff
path: root/net/batman-adv/hash.h
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2021-06-02 13:27:41 -0700
committerDavid S. Miller <davem@davemloft.net>2021-06-03 14:15:10 -0700
commit9c153d3889767eb347a9b1719cc6f336faccdba9 (patch)
tree4e7f748d0dfcf0dde63765b6a3e4b38ef9d922a0 /net/batman-adv/hash.h
parent5ff5622ea1f16d535f1be4e478e712ef48fe183b (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>
Diffstat (limited to 'net/batman-adv/hash.h')
0 files changed, 0 insertions, 0 deletions