]> git.baikalelectronics.ru Git - kernel.git/commit
[NETFILTER]: nf_conntrack: check address family when finding protocol module
authorYasuyuki Kozakai <yasuyuki.kozakai@toshiba.co.jp>
Sat, 4 Feb 2006 10:12:14 +0000 (02:12 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 5 Feb 2006 07:51:17 +0000 (23:51 -0800)
commit49e648b0a94c8b2740446b3959bb636e12cafd1c
treef0ae3607018873a8ed3594b9d81f155aed75b906
parent22d1cecdadecdfbdf186dd14f61e81dcfdc337bd
[NETFILTER]: nf_conntrack: check address family when finding protocol module

__nf_conntrack_{l3}proto_find() doesn't check the passed protocol family,
then it's possible to touch out of the array which has only AF_MAX items.

Spotted by Pablo Neira Ayuso.

Signed-off-by: Yasuyuki Kozakai <yasuyuki.kozakai@toshiba.co.jp>
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/netfilter/nf_conntrack_l3proto.h
net/netfilter/nf_conntrack_core.c