Message ID | 20200422102808.9197-1-jhs@emojatatu.com |
---|---|
Headers | show |
Series | bpf: memory access fixes | expand |
On Wed, 22 Apr 2020 06:28:06 -0400 Jamal Hadi Salim <jhs@mojatatu.com> wrote: > From: Jamal Hadi Salim <hadi@mojatatu.com> > > Changes from V1: > 1) use snprintf instead of sprintf and fix corresponding error message. > Caught-by: Dominique Martinet <asmadeus@codewreck.org> > 2) Fix memory leak and extraneous free() in error path > > Jamal Hadi Salim (2): > bpf: Fix segfault when custom pinning is used > bpf: Fix mem leak and extraneous free() in error path > > lib/bpf.c | 17 +++++++++-------- > 1 file changed, 9 insertions(+), 8 deletions(-) > Would be good to see a v3 and ideally ACK's from of the other BPF developers such as Daniel Borkmann or Jakub Kiciniski
From: Jamal Hadi Salim <hadi@mojatatu.com> Changes from V1: 1) use snprintf instead of sprintf and fix corresponding error message. Caught-by: Dominique Martinet <asmadeus@codewreck.org> 2) Fix memory leak and extraneous free() in error path Jamal Hadi Salim (2): bpf: Fix segfault when custom pinning is used bpf: Fix mem leak and extraneous free() in error path lib/bpf.c | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-)