Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | rule: fix sym refcount assertion | Florian Westphal | 2024-01-15 | 1 | -0/+3 |
Scope release must happen last. afl provided a reproducer where policy is a define, because scope is released too early we get: nft: src/rule.c:559: scope_release: Assertion `sym->refcnt == 1' failed. ... because chain->policy is EXPR_SYMBOL. Fixes: 627c451b2351 ("src: allow variables in the chain priority specification") Signed-off-by: Florian Westphal <fw@strlen.de> |