summaryrefslogtreecommitdiffstats
path: root/src/mnl.c
diff options
context:
space:
mode:
authorEric Garver <eric@garver.life>2019-09-10 09:46:15 -0400
committerPhil Sutter <phil@nwl.cc>2019-09-10 18:10:20 +0200
commite64c42b19a9e50009b4d8877aeee95edb6818990 (patch)
tree5ed0a843479d512ff6d4cf7a3abbb4d3a9c722b8 /src/mnl.c
parent7336ff9add0fae3a0e971285ca0065e64b31f4be (diff)
parser_json: fix crash on insert rule to bad references
Pass the location via the handle so the error leg in erec_print_list() can reference it. Applies to invalid references to tables, chains, and indexes. Fixes: 586ad210368b ("libnftables: Implement JSON parser") Signed-off-by: Eric Garver <eric@garver.life> Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'src/mnl.c')
0 files changed, 0 insertions, 0 deletions