summaryrefslogtreecommitdiff
path: root/net/bridge/netfilter
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2018-03-10 03:15:45 +0300
committerPablo Neira Ayuso <pablo@netfilter.org>2018-03-11 23:24:29 +0300
commitb1d0a5d0cba4597c0394997b2d5fced3e3841b4e (patch)
tree70d90ea7b61812f4472ac77f78eb697aac3f1e2b /net/bridge/netfilter
parent932909d9b28d27e807ff8eecb68c7748f6701628 (diff)
downloadlinux-b1d0a5d0cba4597c0394997b2d5fced3e3841b4e.tar.xz
netfilter: x_tables: add and use xt_check_proc_name
recent and hashlimit both create /proc files, but only check that name is 0 terminated. This can trigger WARN() from procfs when name is "" or "/". Add helper for this and then use it for both. Cc: Eric Dumazet <eric.dumazet@gmail.com> Reported-by: Eric Dumazet <eric.dumazet@gmail.com> Reported-by: <syzbot+0502b00edac2a0680b61@syzkaller.appspotmail.com> Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/bridge/netfilter')
0 files changed, 0 insertions, 0 deletions