[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200527151335.33ae7e9a@hermes.lan>
Date: Wed, 27 May 2020 15:13:35 -0700
From: Stephen Hemminger <stephen@...workplumber.org>
To: Andrea Claudi <aclaudi@...hat.com>
Cc: netdev@...r.kernel.org, dsahern@...il.com, jhs@...atatu.com
Subject: Re: [iproute2 PATCH 0/2] Fix segfault in lib/bpf.c
On Tue, 26 May 2020 18:04:09 +0200
Andrea Claudi <aclaudi@...hat.com> wrote:
> Jamal reported a segfault in bpf_make_custom_path() when custom pinning is
> used. This is caused by commit c0325b06382cb ("bpf: replace snprintf with
> asprintf when dealing with long buffers").
>
> As the only goal of that commit is to get rid of a truncation warning when
> compiling lib/bpf.c, revert it and fix the warning checking for snprintf
> return value
>
> Andrea Claudi (2):
> Revert "bpf: replace snprintf with asprintf when dealing with long
> buffers"
> bpf: Fixes a snprintf truncation warning
>
> lib/bpf.c | 155 +++++++++++++++---------------------------------------
> 1 file changed, 41 insertions(+), 114 deletions(-)
>
ok merged
Powered by blists - more mailing lists