Stephen, What happened to this? cheers, jamal
On 2020-04-23 1:58 p.m., Jamal Hadi Salim wrote:
From: Jamal Hadi Salim <[email protected]> Changes from V2: 1) Dont initialize tmp on stack (Stephen) 2) Dont look at the return code of snprintf (Dominique) 3) Set errno to EINVAL instead of returning -EINVAL for consistency (Dominique) Changes from V1: 1) use snprintf instead of sprintf and fix corresponding error message. Caught-by: Dominique Martinet <[email protected]> 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, 7 insertions(+), 10 deletions(-)
