Re: [iproute2 PATCH 0/2] Fix segfault in lib/bpf.c

2020-05-28 Thread Jamal Hadi Salim
On 2020-05-27 6:13 p.m., Stephen Hemminger wrote: On Tue, 26 May 2020 18:04:09 +0200 Andrea Claudi 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

Re: [iproute2 PATCH 0/2] Fix segfault in lib/bpf.c

2020-05-27 Thread Stephen Hemminger
On Tue, 26 May 2020 18:04:09 +0200 Andrea Claudi 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

Re: [iproute2 PATCH 0/2] Fix segfault in lib/bpf.c

2020-05-26 Thread Daniel Borkmann
On 5/26/20 6:04 PM, Andrea Claudi 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 w

[iproute2 PATCH 0/2] Fix segfault in lib/bpf.c

2020-05-26 Thread Andrea Claudi
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