diff options
author | Phil Sutter <phil@nwl.cc> | 2018-05-28 18:51:01 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-06-01 09:16:48 +0200 |
commit | 25ccb4587de81e1b348e4e2f5404e70097ea8ec9 (patch) | |
tree | 7a03f4c44a777feecedac089c7203c4591cb6381 /tests/py/ip6/rt0.t.json | |
parent | 1c01c8e24e749e7f61b3cd1f4cf4ca8dc32ffd65 (diff) |
JSON: Review set elem expressions
* There is no need to prefix element-specific properties with 'elem_',
they can't conflict.
* In json_parse_set_stmt(), searching for above properties is pointless
since that's already done by called function.
* Fix potential NULL-pointer deref in json_parse_set_elem_expr_stmt():
json_parse_flagged_expr() may return NULL.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/py/ip6/rt0.t.json')
0 files changed, 0 insertions, 0 deletions