diff options
author | Florian Westphal | 2016-03-09 00:04:21 +0100 |
---|---|---|
committer | Pablo Neira Ayuso | 2016-03-11 11:37:56 +0100 |
commit | f0716cd6eb89f769bff3b37120219720c994bb7e (patch) | |
tree | dfc12f5f0d234f4f6a8efb9e8b0299d485e29ea3 /net/netfilter/x_tables.c | |
parent | Merge tag 'ipvs-fixes-for-v4.5' of https://git.kernel.org/pub/scm/linux/kerne... (diff) | |
download | kernel-qcow2-linux-f0716cd6eb89f769bff3b37120219720c994bb7e.tar.gz kernel-qcow2-linux-f0716cd6eb89f769bff3b37120219720c994bb7e.tar.xz kernel-qcow2-linux-f0716cd6eb89f769bff3b37120219720c994bb7e.zip |
netfilter: nft_compat: check match/targetinfo attr size
We copy according to ->target|matchsize, so check that the netlink attribute
(which can include padding and might be larger) contains enough data.
Reported-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/x_tables.c')
0 files changed, 0 insertions, 0 deletions