]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
netfilter: nf_tables: fix overrun in nf_tables_set_alloc_name()
authorPatrick McHardy <kaber@trash.net>
Wed, 5 Feb 2014 11:26:22 +0000 (12:26 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 5 Feb 2014 16:46:07 +0000 (17:46 +0100)
commit53b70287ddf487a38b7cbf0a10db28f40714b799
tree314988aaaead3152a8a558d2e886e83b82626e97
parente53376bef2cd97d3e3f61fdc677fb8da7d03d0da
netfilter: nf_tables: fix overrun in nf_tables_set_alloc_name()

The map that is used to allocate anonymous sets is indeed
BITS_PER_BYTE * PAGE_SIZE long.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_tables_api.c