All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH iproute2 v2 0/9] gcc-8 warning fixes
@ 2018-03-20 20:29 Stephen Hemminger
  2018-03-20 20:29 ` [PATCH iproute2 v2 1/9] bridge: avoid snprint truncation on time Stephen Hemminger
                   ` (8 more replies)
  0 siblings, 9 replies; 13+ messages in thread
From: Stephen Hemminger @ 2018-03-20 20:29 UTC (permalink / raw)
  To: netdev; +Cc: Stephen Hemminger

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

^ permalink raw reply	[flat|nested] 13+ messages in thread
* [PATCH iproute2 v2 0/9] gcc-8 warning fixes
@ 2018-03-20 18:19 Stephen Hemminger
  0 siblings, 0 replies; 13+ messages in thread
From: Stephen Hemminger @ 2018-03-20 18:19 UTC (permalink / raw)
  To: netdev; +Cc: Stephen Hemminger

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2018-03-21  9:21 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-20 20:29 [PATCH iproute2 v2 0/9] gcc-8 warning fixes Stephen Hemminger
2018-03-20 20:29 ` [PATCH iproute2 v2 1/9] bridge: avoid snprint truncation on time Stephen Hemminger
2018-03-20 20:29 ` [PATCH iproute2 v2 2/9] pedit: fix strncpy warning Stephen Hemminger
2018-03-20 20:29 ` [PATCH iproute2 v2 3/9] ip: use strlcpy() to avoid truncation Stephen Hemminger
2018-03-20 20:29 ` [PATCH iproute2 v2 4/9] tunnel: use strlcpy to avoid strncpy warnings Stephen Hemminger
2018-03-20 20:29 ` [PATCH iproute2 v2 5/9] namespace: fix warning snprintf buffer Stephen Hemminger
2018-03-21  9:21   ` Sergei Shtylyov
2018-03-20 20:29 ` [PATCH iproute2 v2 6/9] tc_class: fix snprintf warning Stephen Hemminger
2018-03-20 20:29 ` [PATCH iproute2 v2 7/9] ematch: fix possible snprintf overflow Stephen Hemminger
2018-03-20 20:29 ` [PATCH iproute2 v2 8/9] misc: avoid snprintf warnings in ss and nstat Stephen Hemminger
2018-03-20 20:29 ` [PATCH iproute2 v2 9/9] bpf: avoid compiler warnings about strncpy Stephen Hemminger
2018-03-20 21:12   ` Daniel Borkmann
  -- strict thread matches above, loose matches on Subject: below --
2018-03-20 18:19 [PATCH iproute2 v2 0/9] gcc-8 warning fixes Stephen Hemminger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.