Skip to content

Misc JSON parser fixes

Phil Sutter netfilter-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9parser_json: Catch wrong "reset" payloadsrc/parser_json.c+8 -10 replies
2/9parser_json: Fix typo in json_parse_cmd_add_object()src/parser_json.c+1 -10 replies
3/9parser_json: Proper ct expectation attribute parsingsrc/parser_json.c+7 -60 replies
4/9parser_json: Fix flowtable prio value parsingsrc/parser_json.c+1 -10 replies
5/9parser_json: Fix limit object burst value parsingsrc/parser_json.c+1 -10 replies
6/9parser_json: Fix synproxy object mss/wscale parsingsrc/parser_json.c+4 -30 replies
7/9parser_json: Wrong check in json_parse_ct_timeout_policy()src/parser_json.c+1 -10 replies
8/9parser_json: Catch nonsense ops in match statementsrc/parser_json.c+9 -40 replies
9/9parser_json: Default meter size to zerosrc/parser_json.c+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [nft PATCH 0/9] Misc JSON parser fixes

This is a series of memory corruption fixes kindly reported by Secunet. The first six patches fix severe issues, patches seven and eight moderate problems and the last one a minor issue noticed along the way.

Phil Sutter (9):
parser_json: Catch wrong "reset" payload
parser_json: Fix typo in json_parse_cmd_add_object()
parser_json: Proper ct expectation attribute parsing
parser_json: Fix flowtable prio value parsing
parser_json: Fix limit object burst value parsing
parser_json: Fix synproxy object mss/wscale parsing
parser_json: Wrong check in json_parse_ct_timeout_policy()
parser_json: Catch nonsense ops in match statement
parser_json: Default meter size to zero

 src/parser_json.c | 50 ++++++++++++++++++++++++++++++-----------------
 1 file changed, 32 insertions(+), 18 deletions(-)
Signature · 1 line
2.41.0