[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/rpcbind/F-7 rpcbind-0.1.4-iff_up.patch, NONE, 1.1 rpcbind.spec, 1.13, 1.14



Author: steved

Update of /cvs/pkgs/rpms/rpcbind/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4736

Modified Files:
	rpcbind.spec 
Added Files:
	rpcbind-0.1.4-iff_up.patch 
Log Message:
Fixed an ipv6 related segfault on startup (bz 240873)


rpcbind-0.1.4-iff_up.patch:

--- NEW FILE rpcbind-0.1.4-iff_up.patch ---
--- 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);


Index: rpcbind.spec
===================================================================
RCS file: /cvs/pkgs/rpms/rpcbind/F-7/rpcbind.spec,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- rpcbind.spec	18 Apr 2007 18:25:06 -0000	1.13
+++ rpcbind.spec	22 May 2007 15:46:29 -0000	1.14
@@ -2,7 +2,7 @@
 
 Name:           rpcbind
 Version:        0.1.4
-Release: 5%{?dist}
+Release: 		6%{?dist}
 Summary:        Universal Addresses to RPC Program Number Napper
 Group:          System Environment/Daemons
 License:        GPL
@@ -27,6 +27,7 @@
 Patch2: rpcbind-0.1.4-debug.patch
 Patch3: rpcbind-0.1.4-warmstarts.patch
 Patch4: rpcbind-0.1.4-rpcuser.patch
+Patch5: rpcbind-0.1.4-iff_up.patch
 
 %description
 The rpcbind utility is a server that converts RPC program numbers into
@@ -40,6 +41,8 @@
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
+# 240873: rpcbind segfaults on startup - ipv6 related
+%patch5 -p1
 
 %build
 %ifarch s390 s390x
@@ -118,6 +121,9 @@
 %dir %attr(700,rpc,rpc) /var/lib/rpcbind
 
 %changelog
+* Tue May 22 2007 Steve Dickson <steved redhat com> 0.1.4-6
+- Fixed an ipv6 related segfault on startup (bz 240873)
+
 * Wed Apr 18 2007 Steve Dickson <steved redhat com> 0.1.4-5
 - Added dependency on setup which contains the correct
   rpcbind /etc/service entry which in turns stops 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]