diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2023-12-06 13:40:22 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2023-12-12 13:30:09 +0100 |
commit | c4e17cbfd950f315d55b8ed2333c13cc19a49772 (patch) | |
tree | b6c119b72e18688906b1dcb5e47dc01dfa6ecc47 /src/parser_bison.y | |
parent | 1ea1f919823c550251162d814385a733a8072dee (diff) |
evaluate: reject set definition with no key
commit 1949a63215b423b914d3a7a9de7511cb48af3c09 upstream.
tests/shell/testcases/bogons/nft-f/set_definition_with_no_key_assert
BUG: unhandled key type 2
nft: src/intervals.c:59: setelem_expr_to_range: Assertion `0' failed.
This patch adds a new unit tests/shell courtesy of Florian Westphal.
Fixes: 3975430b12d9 ("src: expand table command before evaluation")
Reported-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/parser_bison.y')
0 files changed, 0 insertions, 0 deletions