On Sat, 3 Mar 2018 16:59:44 +0000 Jean-Philippe Brucker <jphilippe.bruc...@gmail.com> wrote:
> 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 Oh dear. Nice catch, thanks for fixing this. > Signed-off-by: Jean-Philippe Brucker <jphilippe.bruc...@gmail.com> Acked-by: Stefano Brivio <sbri...@redhat.com> -- Stefano