]> git.ipfire.org Git - thirdparty/nftables.git/commit
evaluate: don't BUG on unexpected base datatype
authorFlorian Westphal <fw@strlen.de>
Fri, 13 Jun 2025 14:46:06 +0000 (16:46 +0200)
committerFlorian Westphal <fw@strlen.de>
Wed, 18 Jun 2025 22:49:57 +0000 (00:49 +0200)
commit845b8d7208077310e77560a64b698973fb047ef2
treebf864e0685cb62b49b9a32a943874b093178cb73
parent2a38f458f12bc032dac1b3ba63f95ca5a3c03fbd
evaluate: don't BUG on unexpected base datatype

Included bogon will cause a crash but this is the evaluation stage where
we can just emit an error instead.

Signed-off-by: Florian Westphal <fw@strlen.de>
src/evaluate.c
tests/shell/testcases/bogons/nft-f/invalid_basetype_verdict_assert [new file with mode: 0644]