diff -Naur --exclude '*~' rpcbind-0.1.4/src/util.c rpcbind-0.1.4-fix-crash-with-ipv6-disabled/src/util.c --- rpcbind-0.1.4/src/util.c 2005-01-03 14:36:53.000000000 +0100 +++ rpcbind-0.1.4-fix-crash-with-ipv6-disabled/src/util.c 2008-02-28 15:57:28.000000000 +0100 @@ -359,7 +359,8 @@ * 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);