mirror of
https://git.proxmox.com/git/mirror_iproute2
synced 2025-12-10 03:39:59 +00:00
When ss is invoked with the no-header flag, if the query doesn't return any result, render() is called with 'buffer' uninitialized. This currently leads to a segfault. Ensure that buffer is initialized before rendering. The bug can be triggered with: ss -H sport = 100000 Signed-off-by: Jean-Philippe Brucker <jphilippe.brucker@gmail.com> Acked-by: Stefano Brivio <sbrivio@redhat.com> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| arpd.c | ||
| ifstat.c | ||
| lnstat_util.c | ||
| lnstat.c | ||
| lnstat.h | ||
| Makefile | ||
| nstat.c | ||
| rtacct.c | ||
| ss.c | ||
| ssfilter.h | ||
| ssfilter.y | ||