]> 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)
commit3f1b23b9fa4bb2141cc48bd7b220a6bcff0acc7e
tree1e37bac72abf29ab1a3a14c427c3610939438876
parentbac4c22e2261d834d7a18a8825c29f5097af00da
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