iproute2/misc
[200~jiangheng be31c26484 lnstat: fix buffer overflow in header output
Running lnstat will cause core dump from reading past end of array.

Segmentation fault (core dumped)

The maximum  value of th.num_lines is HDR_LINES(10),  h should not be equal to th.num_lines, array th.hdr may be out of bounds.

Signed-off-by jiangheng <jiangheng12@huawei.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
2021-11-17 13:41:10 -08:00
..
.gitignore make yacc usage POSIX compatible 2020-01-20 09:43:22 -08:00
Makefile ss: add checks for bc filter support 2020-05-13 14:28:38 +00: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.c lnstat: fix buffer overflow in header output 2021-11-17 13:41:10 -08:00
lnstat.h lnstat: use same version as iproute2 2020-08-03 10:02:47 -07:00
lnstat_util.c lnstat_util: Make sure buffer is NUL-terminated 2017-09-01 12:10:54 -07:00
nstat.c cmd: use spaces instead of tabs for usage indentation 2021-10-06 10:00:49 -07:00
rtacct.c replace SNAPSHOT with auto-generated version string 2020-08-03 10:02:47 -07:00
ss.c ss: fix fallback to procfs for raw sockets 2021-08-18 15:03:46 -07:00
ss_util.h 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
ssfilter_check.c ss: add checks for bc filter support 2020-05-13 14:28:38 +00:00