[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <64d07b61-738c-d429-96d5-1067d62ada32@gmail.com>
Date: Sun, 9 May 2021 16:10:01 -0600
From: David Ahern <dsahern@...il.com>
To: Andrea Claudi <aclaudi@...hat.com>, netdev@...r.kernel.org
Cc: stephen@...workplumber.org
Subject: Re: [PATCH iproute2 1/2] tipc: bail out if algname is abnormally long
On 5/1/21 10:32 AM, Andrea Claudi wrote:
> tipc segfaults when called with an abnormally long algname:
>
> $ tipc node set key 0x1234 algname supercalifragilistichespiralidososupercalifragilistichespiralidoso
> *** buffer overflow detected ***: terminated
>
> Fix this returning an error if provided algname is longer than
> TIPC_AEAD_ALG_NAME.
>
> Fixes: 24bee3bf9752 ("tipc: add new commands to set TIPC AEAD key")
> Signed-off-by: Andrea Claudi <aclaudi@...hat.com>
> ---
> tipc/node.c | 9 +++++++--
> 1 file changed, 7 insertions(+), 2 deletions(-)
>
applied both, thanks.
Powered by blists - more mailing lists