Date: Wed, 04 Oct 2017 08:09:05 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ipfw@FreeBSD.org Subject: [Bug 222746] ipfw: tcpdatalen does not exactly match IPv6 packets. Message-ID: <bug-222746-7515-HHJxfqj790@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-222746-7515@https.bugs.freebsd.org/bugzilla/> References: <bug-222746-7515@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222746 Andrey V. Elsukov <ae@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ae@FreeBSD.org --- Comment #2 from Andrey V. Elsukov <ae@FreeBSD.org> --- (In reply to Tatsuki Makino from comment #1) > Created attachment 186894 [details] > patch for CURRENT >=20 > attachment 186874 [details] reused the variable iplen. But iplen overflows > when ip6_plen is greater than 65495. > The new patch does not use the sum of header size and payload size. You need to handle the case when ip6_plen =3D=3D 0. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-222746-7515-HHJxfqj790>