SOURCES: rpcbind-iff_up.patch (NEW) - fix ipv6 related crash

baggins baggins at pld-linux.org
Thu Jul 5 15:36:19 CEST 2007


Author: baggins                      Date: Thu Jul  5 13:36:19 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix ipv6 related crash

---- Files affected:
SOURCES:
   rpcbind-iff_up.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/rpcbind-iff_up.patch
diff -u /dev/null SOURCES/rpcbind-iff_up.patch:1.1
--- /dev/null	Thu Jul  5 15:36:19 2007
+++ SOURCES/rpcbind-iff_up.patch	Thu Jul  5 15:36:14 2007
@@ -0,0 +1,12 @@
+--- rpcbind-0.1.4/src/util.c.iff_up	2007-05-22 11:14:39.000000000 -0400
++++ rpcbind-0.1.4/src/util.c	2007-05-22 11:14:56.000000000 -0400
+@@ -359,7 +359,8 @@ network_init()
+ 	 * interface, join the RPC multicast group on that interface.
+ 	 */
+ 	for (ifap = ifp; ifap != NULL; ifap = ifap->ifa_next) {
+-		if (ifap->ifa_addr->sa_family != AF_INET6 ||
++		if (!ifap->ifa_addr ||
++		    ifap->ifa_addr->sa_family != AF_INET6 ||
+ 		    !(ifap->ifa_flags & IFF_MULTICAST))
+ 			continue;
+ 		ifindex = if_nametoindex(ifap->ifa_name);
================================================================


More information about the pld-cvs-commit mailing list