]> git.ipfire.org Git - thirdparty/nftables.git/commit
cache: assert name is non-nul when looking up
authorPablo Neira Ayuso <pablo@netfilter.org>
Sun, 15 Jun 2025 09:33:49 +0000 (11:33 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 13 Aug 2025 18:44:50 +0000 (20:44 +0200)
commit6c67aef5a0b3efb8e64b89f9f97a52cb9657849e
tree818b6da7452780871e40d895c6996a4f45d46edd
parent018e5bd610ef9d287de2a36143cce659250341d7
cache: assert name is non-nul when looking up

commit f15bc7d368b7c1d897fd830f91e7db6929175b27 upstream.

{table,chain,set,obj,flowtable}_cache_find() should not be called when
handles are used

Fixes: 5ec5c706d993 ("cache: add hashtable cache for table")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
src/cache.c