]> git.ipfire.org Git - thirdparty/nftables.git/commit
src: parser_bison: prevent multiple ip daddr/saddr definitions
authorFlorian Westphal <fw@strlen.de>
Thu, 16 Oct 2025 14:59:35 +0000 (16:59 +0200)
committerFlorian Westphal <fw@strlen.de>
Fri, 17 Oct 2025 07:41:51 +0000 (09:41 +0200)
commitfb3e048171fe09c347c43398a779180717818466
tree7ee85645298890a20c283aa9e5dc07b49526a493
parent667a618083f755eb12b73a69e32fe94e128ec8b3
src: parser_bison: prevent multiple ip daddr/saddr definitions

minor change to the bogon makes it assert because symbolic expression
will have wrong refcount (2) at scope teardown.

Signed-off-by: Florian Westphal <fw@strlen.de>
Reviewed-by: Fernando Fernandez Mancera <fmancera@suse.de>
src/parser_bison.y
tests/shell/testcases/bogons/nft-f/tunnel_with_anon_set_assert