]> git.ipfire.org Git - thirdparty/nftables.git/commit
evaluate: reject sets with no key
authorFlorian Westphal <fw@strlen.de>
Thu, 30 Nov 2023 20:29:52 +0000 (21:29 +0100)
committerFlorian Westphal <fw@strlen.de>
Fri, 1 Dec 2023 11:26:49 +0000 (12:26 +0100)
commit09c573053ff03ad0a2eeb12c2957881648062f50
tree7b1bd1982b01218e3e38db5dd8b39c5f1983168a
parent4890211e188a055d686f5522b40bbdd41e75216c
evaluate: reject sets with no key

nft --check -f tests/shell/testcases/bogons/nft-f/set_without_key
Segmentation fault (core dumped)

Fixes: 56c90a2dd2eb ("evaluate: expand sets and maps before evaluation")
Signed-off-by: Florian Westphal <fw@strlen.de>
src/evaluate.c
tests/shell/testcases/bogons/nft-f/map_without_key [new file with mode: 0644]
tests/shell/testcases/bogons/nft-f/set_without_key [new file with mode: 0644]