]> Pileus Git - ~andy/linux/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)
commitb38895c5773b00977ca6beff8ebbd2e3f55f1f84
tree1e37bac72abf29ab1a3a14c427c3610939438876
parentc4ede3d3821a732120fd671846c2606a1eb4e8b3
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