]> git.ipfire.org Git - thirdparty/nftables.git/commit
tests: shell: cover refcount leak of mapping rhs
authorPablo Neira Ayuso <pablo@netfilter.org>
Tue, 27 Jun 2023 12:12:53 +0000 (14:12 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 27 Jun 2023 12:15:11 +0000 (14:15 +0200)
commit55a8685e18ed2f49142a8e2e9f9c79566cc29871
tree9eb2830105cdb301ed05ad4000384741cc95e4b4
parentdb6e4496fe57eceeecad6f7d8f4307ca059bc91b
tests: shell: cover refcount leak of mapping rhs

Add a test to cover reference count leak in maps by adding twice
same element, then flush.

Reported-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
tests/shell/testcases/maps/0016map_leak_0 [new file with mode: 0755]