[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Sat, 3 Mar 2018 18:35:38 +0100
From: Stefano Brivio <sbrivio@...hat.com>
To: Jean-Philippe Brucker <jphilippe.brucker@...il.com>
Cc: stephen@...workplumber.org, netdev@...r.kernel.org
Subject: Re: [PATCH iproute2] ss: fix NULL dereference when rendering
without header
On Sat, 3 Mar 2018 16:59:44 +0000
Jean-Philippe Brucker <jphilippe.brucker@...il.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.brucker@...il.com>
Acked-by: Stefano Brivio <sbrivio@...hat.com>
--
Stefano
Powered by blists - more mailing lists