rpms/nfs-utils/F-9 nfs-utils-1.1.2-rmtab-fqdn.patch, NONE, 1.1 nfs-utils.spec, 1.171, 1.172

Steve Dickson (steved) fedora-extras-commits at redhat.com
Wed Jun 25 12:39:29 UTC 2008


Author: steved

Update of /cvs/pkgs/rpms/nfs-utils/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29369

Modified Files:
	nfs-utils.spec 
Added Files:
	nfs-utils-1.1.2-rmtab-fqdn.patch 
Log Message:
FQDNs in the rmtab causes exportfs to seg fault (bz 444275)


nfs-utils-1.1.2-rmtab-fqdn.patch:

--- NEW FILE nfs-utils-1.1.2-rmtab-fqdn.patch ---
diff -up nfs-utils-1.1.2/support/export/rmtab.c.orig nfs-utils-1.1.2/support/export/rmtab.c
--- nfs-utils-1.1.2/support/export/rmtab.c.orig	2008-03-14 11:46:29.000000000 -0400
+++ nfs-utils-1.1.2/support/export/rmtab.c	2008-06-24 20:15:06.000000000 -0400
@@ -31,7 +31,7 @@ rmtab_read(void)
 		int			htype;
 		
 		htype = client_gettype(rep->r_client);
-		if (htype == MCL_FQDN || htype == MCL_SUBNETWORK
+		if ((htype == MCL_FQDN || htype == MCL_SUBNETWORK)
 		    && (hp = gethostbyname (rep->r_client))
 		    && (hp = hostent_dup (hp),
 			exp = export_allowed (hp, rep->r_path))) {


Index: nfs-utils.spec
===================================================================
RCS file: /cvs/pkgs/rpms/nfs-utils/F-9/nfs-utils.spec,v
retrieving revision 1.171
retrieving revision 1.172
diff -u -r1.171 -r1.172
--- nfs-utils.spec	7 May 2008 14:13:24 -0000	1.171
+++ nfs-utils.spec	25 Jun 2008 12:38:28 -0000	1.172
@@ -2,7 +2,7 @@
 Name: nfs-utils
 URL: http://sourceforge.net/projects/nfs
 Version: 1.1.2
-Release: 4%{?dist}
+Release: 5%{?dist}
 Epoch: 1
 
 # group all 32bit related archs
@@ -31,6 +31,7 @@
 Patch06: nfs-utils-1.1.0-exportfs-man-update.patch
 Patch07: nfs-utils-1.1.2-multi-auth-flavours.patch
 Patch08: nfs-utils-1.1.2-mount-eacces.patch
+Patch09: nfs-utils-1.1.2-rmtab-fqdn.patch
 
 %if %{enablefscache}
 Patch90: nfs-utils-1.1.0-mount-fsc.patch
@@ -90,6 +91,7 @@
 %patch06 -p1
 %patch07 -p1
 %patch08 -p1
+%patch09 -p1
 
 %if %{enablefscache}
 %patch90 -p1
@@ -257,6 +259,9 @@
 %attr(4755,root,root)   /sbin/umount.nfs4
 
 %changelog
+* Tue Jun 24 2008 Steve Dickson <steved at redhat.com>  1.1.2-5
+- FQDNs in the rmtab causes exportfs to seg fault (bz 444275)
+
 * Wed May  7 2008 Steve Dickson <steved at redhat.com>  1.1.2-4
 - Added ppc arch to the all_32bit_archs list (bz 442847)
 




More information about the fedora-extras-commits mailing list