]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nft_meta: fix lack of validation of the input register
authorPablo Neira Ayuso <pablo@netfilter.org>
Thu, 9 Jan 2014 19:03:55 +0000 (20:03 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 9 Jan 2014 19:04:16 +0000 (20:04 +0100)
commit70175ae92eb54f070995403d07c51fa09491ee4a
tree1e37bac72abf29ab1a3a14c427c3610939438876
parentb062a41ee45a6f13f8c4c5c7f5d9cbb8cf39c8e7
netfilter: nft_meta: fix lack of validation of the input register

We have to validate that the input register is in the range of
allowed registers, otherwise we can take a incorrect register
value as input that may lead us to a crash.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nft_meta.c