From 09c573053ff03ad0a2eeb12c2957881648062f50 Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Thu, 30 Nov 2023 21:29:52 +0100 Subject: 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 --- tests/shell/testcases/bogons/nft-f/set_without_key | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 tests/shell/testcases/bogons/nft-f/set_without_key (limited to 'tests/shell/testcases/bogons/nft-f/set_without_key') diff --git a/tests/shell/testcases/bogons/nft-f/set_without_key b/tests/shell/testcases/bogons/nft-f/set_without_key new file mode 100644 index 00000000..f194afbf --- /dev/null +++ b/tests/shell/testcases/bogons/nft-f/set_without_key @@ -0,0 +1,5 @@ +table ip t { + set s { + elements = { 0x00000023-0x00000142, 0x00001337 } + } +} -- cgit v1.2.3