----Security_Multipart0(Tue_Dec_28_19_34_40_2004_215)--
Content-Type: Multipart/Mixed;
boundary="--Next_Part(Tue_Dec_28_19_34_40_2004_432)--"
Content-Transfer-Encoding: 7bit
----Next_Part(Tue_Dec_28_19_34_40_2004_432)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Hi,
Here is a patch for sys/netinet6/in6_pcb.c to fix a bug which was
fixed in the FreeBSD's in6_pcb.c 1.37->1.38.
----Next_Part(Tue_Dec_28_19_34_40_2004_432)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="in6_pcb.c.diff"
Fix an off-by-one error.
Obtained from: FreeBSD (in6_pcb.c:1.37->1.38)
Index: in6_pcb.c
===================================================================
RCS file: /cvs/src/sys/netinet6/in6_pcb.c,v
retrieving revision 1.19
diff -d -u -I\$FreeBSD:.*\$ -I\$NetBSD:.*\$ -I\$OpenBSD:.*\$ -I\$DragonFly:.*\$ -I\$Id:.*\$ -I\$hrs:.*\$ -r1.19 in6_pcb.c
--- in6_pcb.c 21 Dec 2004 02:54:47 -0000 1.19
+++ in6_pcb.c 28 Dec 2004 09:46:21 -0000
@@ -759,7 +759,7 @@
u_int32_t flowinfo;
int errno, s;
- if ((unsigned)cmd > PRC_NCMDS || dst->sa_family != AF_INET6)
+ if ((unsigned)cmd >= PRC_NCMDS || dst->sa_family != AF_INET6)
return;
sa6_dst = (struct sockaddr_in6 *)dst;
----Next_Part(Tue_Dec_28_19_34_40_2004_432)----
----Security_Multipart0(Tue_Dec_28_19_34_40_2004_215)--
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)
iD8DBQBB0TbATyzT2CeTzy0RAhbuAJwJCynufw8q6S44E61Rx4Y+Y08q/ACePnIr
nPM0ufy2EoQ9VCoDLSQGTZo=
=EmI8
-----END PGP SIGNATURE-----
----Security_Multipart0(Tue_Dec_28_19_34_40_2004_215)----