bpf: memory access fixes
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest2 patches 7 repliesIn review
- v22 patches 9 repliesSuperseded
- v11 patch 5 repliesSuperseded
Changes in v3 from the cover letter
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)
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | bpf: Fix segfault when custom pinning is usedlib/ | +2 | 0 replies | |
| 2/2 | bpf: Fix mem leak and extraneous free() in error pathlib/ | +5 | 0 replies |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Dominique Martinet | Andrea Claudi |
|---|---|---|
| Series | Caught-by | A-b |
| 1/2 | ||
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH iproute2 v3 0/2] bpf: memory access fixes
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.
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(-)
Signature · 1 line
2.20.1