mirror_iproute2/misc
Stephen Hemminger c014983921 misc: fix compiler warning in ifstat and nstat
The code here was doing strncpy() in a way that causes gcc 10
warning about possible string overflow. Just use strlcpy() which
will null terminate and bound the string as expected.

This has existed since start of git era so no Fixes tag.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
2020-11-29 16:20:31 -08:00
..
.gitignore make yacc usage POSIX compatible 2020-01-20 09:43:22 -08:00
arpd.c libnetlink: Add filter function to rtnl_neighdump_req 2019-01-04 12:17:11 -08:00
ifstat.c misc: fix compiler warning in ifstat and nstat 2020-11-29 16:20:31 -08:00
lnstat_util.c lnstat_util: Make sure buffer is NUL-terminated 2017-09-01 12:10:54 -07:00
lnstat.c lnstat: use same version as iproute2 2020-08-03 10:02:47 -07:00
lnstat.h lnstat: use same version as iproute2 2020-08-03 10:02:47 -07:00
Makefile ss: add checks for bc filter support 2020-05-13 14:28:38 +00:00
nstat.c misc: fix compiler warning in ifstat and nstat 2020-11-29 16:20:31 -08:00
rtacct.c replace SNAPSHOT with auto-generated version string 2020-08-03 10:02:47 -07:00
ss_util.h ss: add checks for bc filter support 2020-05-13 14:28:38 +00:00
ss.c ss: add support for xdp statistics 2020-09-29 09:21:24 -06:00
ssfilter_check.c ss: add checks for bc filter support 2020-05-13 14:28:38 +00:00
ssfilter.h ss: add checks for bc filter support 2020-05-13 14:28:38 +00:00
ssfilter.y ss: add checks for bc filter support 2020-05-13 14:28:38 +00:00