[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20180320181943.4075-1-stephen@networkplumber.org>
Date: Tue, 20 Mar 2018 11:19:34 -0700
From: Stephen Hemminger <stephen@...workplumber.org>
To: netdev@...r.kernel.org
Cc: Stephen Hemminger <stephen@...workplumber.org>
Subject: [PATCH iproute2 v2 0/9] gcc-8 warning fixes
This fixes most of the warnings when building with gcc-8.
Still have issues with namespace and bpf.
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
Powered by blists - more mailing lists