]> git.proxmox.com Git - mirror_iproute2.git/commit - ip/ipvrf.c
Convert the obvious cases to strlcpy()
authorPhil Sutter <phil@nwl.cc>
Fri, 1 Sep 2017 16:52:52 +0000 (18:52 +0200)
committerStephen Hemminger <stephen@networkplumber.org>
Fri, 1 Sep 2017 19:10:54 +0000 (12:10 -0700)
commit18f156bfecda20166c2fb543ba8c9c6559edef9c
treef5ce6f81f6f7846d2468899859b356bf14f9d06b
parent8d15e012a3227d79295cd95582bb6d8a6f0bdc92
Convert the obvious cases to strlcpy()

This converts the typical idiom of manually terminating the buffer after
a call to strncpy().

Signed-off-by: Phil Sutter <phil@nwl.cc>
ip/ipnetns.c
ip/iproute_lwtunnel.c
ip/ipvrf.c
lib/bpf.c
lib/fs.c
lib/inet_proto.c
misc/ss.c
tc/em_ipset.c