]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
netfilter: nf_tables: set names cannot be larger than 15 bytes
authorPablo Neira Ayuso <pablo@netfilter.org>
Mon, 24 Mar 2014 14:10:37 +0000 (15:10 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 31 May 2014 20:20:28 +0000 (13:20 -0700)
commit4d43406bd06f92ab86c31027a2c313b36dc4ba39
tree3dad1c877ece3a14599024d7b66572370175bf5b
parent8b5740915a9faa8b1fa9166193a33e2a9ae30ec6
netfilter: nf_tables: set names cannot be larger than 15 bytes

commit a9bdd8365684810e3de804f8c51e52c26a5eccbb upstream.

Currently, nf_tables trims off the set name if it exceeeds 15
bytes, so explicitly reject set names that are too large.

Reported-by: Giuseppe Longo <giuseppelng@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/netfilter/nf_tables_api.c