summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/rpcb_clnt.c
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-12-20 11:23:15 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2013-12-20 11:25:10 +0100
commit540436c80e5918dd5ed838449e108b1726fc4d68 (patch)
treecd92c0d458124da2078fefc34275e6d9aebc4c8f /net/sunrpc/rpcb_clnt.c
parent45c2aff645c82da7b1574dad5062993cf451c699 (diff)
downloadop-kernel-dev-540436c80e5918dd5ed838449e108b1726fc4d68.zip
op-kernel-dev-540436c80e5918dd5ed838449e108b1726fc4d68.tar.gz
netfilter: nft_exthdr: call ipv6_find_hdr() with explicitly initialized offset
In nft's nft_exthdr_eval() routine we process IPv6 extension header through invoking ipv6_find_hdr(), but we call it with an uninitialized offset variable that contains some stack value. In ipv6_find_hdr() we then test if the value of offset != 0 and call skb_header_pointer() on that offset in order to map struct ipv6hdr into it. Fix it up by initializing offset to 0 as it was probably intended to be. Fixes: 96518518cc41 ("netfilter: add nftables") Signed-off-by: Daniel Borkmann <dborkman@redhat.com> Cc: Hannes Frederic Sowa <hannes@stressinduktion.org> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/sunrpc/rpcb_clnt.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud