]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commitddc8d029ac6813827849801bce2d8c8813070db6
treef0ae3607018873a8ed3594b9d81f155aed75b906
parent34f9a2e4deb760ddcb94cd0cd4f9ce18070d53d9
[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