Date: Mon, 12 Apr 2010 10:07:56 +0400 From: Hizel Ildar <hizel@vyborg.ru> To: freebsd-current@freebsd.org Subject: Re: ipfw bug on i386 Message-ID: <20100412100756.1ef3af73@hzwork.vyborg.ru> In-Reply-To: <4BC1790F.1020205@lissyara.su> References: <4BC1790F.1020205@lissyara.su>
next in thread | previous in thread | raw e-mail | index | archive | help
=D0=92 Sun, 11 Apr 2010 11:23:59 +0400 Alex Keda <admin@lissyara.su> =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > srv5# more /tmp/a.sh > table=3D"24" > ipfw table $table flush > for octet3 in `jot - 1 60` > do > for octet4 in `jot - 1 254` > do > echo "table $table add 192.168.$octet3.$octet4" >> /tmp/$$.txt > done > done > ipfw /tmp/$$.txt > rm -f /tmp/$$.txt >=20 > effect: >=20 > srv5# sh /tmp/a.sh > Abort trap (core dumped) > srv5# > srv5# ll ipfw.core > -rw------- 1 root wheel - 1,9M 11 =D0=B0=D0=BF=D1=80 11:22 ipfw.core > srv5# >=20 > Tested on 8,9 i386 - core dump, amd64 - all OK > 7 - all OK >=20 > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to > "freebsd-current-unsubscribe@freebsd.org" >=20 Hey! I'm fix this bug :D patch: foo# diff -ruN main.c~ main.c --- main.c~ 2010-03-04 19:54:56.000000000 +0300 +++ main.c 2010-04-12 09:37:21.000000000 +0400 @@ -553,7 +553,7 @@ } =20 while (fgets(buf, BUFSIZ, f)) { /* read commands */ - char linename[10]; + char linename[11]; char *args[2]; =20 lineno++;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100412100756.1ef3af73>