Skip to content

Fix two leaks in error path, one extra

Phil Sutter netfilter-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3parser_json: Avoid storage leak in json_parse_set_expr error pathsrc/parser_json.c+8 -70 replies
2/3netlink: Avoid storage leak in tunnel_parse_opt_cb error pathsrc/netlink.c+3 -10 replies
3/3bison: Drop pointless NULL-checksrc/parser_bison.y+2 -40 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchFlorian Westphal
SeriesR-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [nft PATCH 0/3] Fix two leaks in error path, one extra

The first two patches fix for a recent Coverity tool scan. The last one is unrelated and not worth sending on its own, but matches the other two's severity.

Phil Sutter (3):
parser_json: Avoid storage leak in json_parse_set_expr error path
netlink: Avoid storage leak in tunnel_parse_opt_cb error path
bison: Drop pointless NULL-check

 src/netlink.c      |  4 +++-
 src/parser_bison.y |  6 ++----
 src/parser_json.c  | 15 ++++++++-------
 3 files changed, 13 insertions(+), 12 deletions(-)
Signature · 1 line
2.54.0