]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nfnetlink: validate nfnetlink header from batch
authorPablo Neira Ayuso <pablo@netfilter.org>
Sun, 4 Jan 2015 14:20:29 +0000 (15:20 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 6 Jan 2015 21:27:46 +0000 (22:27 +0100)
commit4440c7580198add152fc74e46328da2a149060e0
tree2d6056766f02f0f1682b52bc4f68fb4d8d1b8b29
parentd6f390d52e3032833c5bfc118ad5ec0c17b665d3
netfilter: nfnetlink: validate nfnetlink header from batch

Make sure there is enough room for the nfnetlink header in the
netlink messages that are part of the batch. There is a similar
check in netlink_rcv_skb().

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