[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ipfilter
Subject:    FreeBSD 2.2.8 crash after running routed.
From:       Takahiro Kambe <taca () sky ! yamashina ! kyoto ! jp>
Date:       1999-10-25 3:04:19
[Download RAW message or body]

Hello.

I merged IP Filter 3.3.3's source into my FreeBSD 2.2.8 Stable source
tree.  When I rebooted after creating new kernel, it paniced after
running routed.  It seems that there is a bug in fr_checkstate() in
ip_state.c.  Attached the diff solve this problem for me.

Cheers.

--
Takahiro Kambe <taca@sky.yamashina.kyoto.jp>

Index: ip_state.c
--- ip_state.c	1999/10/22 05:05:22	1.1.2.5
+++ ip_state.c	1999/10/25 02:45:00
@@ -779,6 +779,7 @@
 	hlen = fin->fin_hlen;
 	tcp = (tcphdr_t *)((char *)ip + hlen);
 	ic = (struct icmp *)tcp;
+	is = NULL;
 	hv = (pr = ip->ip_p);
 	hv += (src.s_addr = ip->ip_src.s_addr);
 	hv += (dst.s_addr = ip->ip_dst.s_addr);

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic