Date: Wed, 15 Oct 2008 19:24:18 +0000 (UTC) From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/netinet6 ip6_output.c Message-ID: <200810151924.m9FJOOGS078814@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
bz 2008-10-15 19:24:18 UTC FreeBSD src repository Modified files: sys/netinet6 ip6_output.c Log: SVN rev 183923 on 2008-10-15 19:24:18Z by bz Check that the mbuf len is positive (like we do in the v4 case). Read the other way round this means that even with the checks the m_len turned negative in some cases which led to panics. The reason to my understanding seems to be that the checks are wrong (also for v4) ignoring possible padding when checking cmsg_len or padding after data when adjusting the mbuf. Doing proper cheks seems to break applications like named so further investigation and regression tests are needed. PR: kern/119123 Tested by: Ashish Shukla wahjava gmail.com MFC after: 3 days Revision Changes Path 1.122 +1 -1 src/sys/netinet6/ip6_output.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810151924.m9FJOOGS078814>