]> git.proxmox.com Git - mirror_iproute2.git/commit
Convert harmful calls to strncpy() to strlcpy()
authorPhil Sutter <phil@nwl.cc>
Fri, 1 Sep 2017 16:52:53 +0000 (18:52 +0200)
committerStephen Hemminger <stephen@networkplumber.org>
Fri, 1 Sep 2017 19:10:54 +0000 (12:10 -0700)
commit532b8874fe545acaa8d45c4dd3b54b8f3bb41d9f
tree63a1d64c7d7ce4b43367ce7718b8bb3f8524ae44
parent18f156bfecda20166c2fb543ba8c9c6559edef9c
Convert harmful calls to strncpy() to strlcpy()

This patch converts spots where manual buffer termination was missing to
strlcpy() since that does what is needed.

Signed-off-by: Phil Sutter <phil@nwl.cc>
genl/ctrl.c
ip/ipvrf.c
ip/xfrm_state.c