This fixes most of the warning seen build iproute2 with gcc-8.
There are still a couple in namespace and bpf to resolve related
to PATH_MAX.

Stephen Hemminger (9):
  bridge: avoid snprint truncation on time
  pedit: fix strncpy warning
  ip: use strlcpy() to avoid truncation
  tunnel: use strlcpy to avoid strncpy warnings
  namespace: fix warning snprintf buffer
  tc_class: fix snprintf warning
  ematch: fix possible snprintf overflow
  misc: avoid snprintf warnings in ss and nstat
  bpf: avoid compiler warnings about strncpy

 bridge/mdb.c    |  4 ++--
 ip/iplink.c     | 14 +++++++-------
 ip/tunnel.c     | 12 ++++++------
 lib/bpf.c       |  6 +++---
 lib/namespace.c |  6 ++++--
 misc/nstat.c    |  4 ++--
 misc/ss.c       |  2 +-
 tc/m_ematch.c   |  2 +-
 tc/m_pedit.c    |  2 +-
 tc/tc_class.c   |  5 +++--
 10 files changed, 30 insertions(+), 27 deletions(-)

-- 
2.16.2

Reply via email to