rpms/nfs-utils/devel nfs-utils-1.0.12-mountd-memleak.patch, NONE, 1.1 nfs-utils.spec, 1.130, 1.131

Steve Dickson (steved) fedora-extras-commits at redhat.com
Thu May 10 17:32:54 UTC 2007


Author: steved

Update of /cvs/pkgs/rpms/nfs-utils/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18445

Modified Files:
	nfs-utils.spec 
Added Files:
	nfs-utils-1.0.12-mountd-memleak.patch 
Log Message:
Eliminate memory leak in mountd (bz 239536)


nfs-utils-1.0.12-mountd-memleak.patch:

--- NEW FILE nfs-utils-1.0.12-mountd-memleak.patch ---
commit 12749181ceaa0711cc857b7639c0a559d5e65197
Author: Steve Dickson <steved at redhat.com>
Date:   Thu May 10 11:54:59 2007 -0400

    Close memory leak in mountd
    
    Signed-off-by: Steve Dickson <steved at redhat.com>

diff --git a/support/export/client.c b/support/export/client.c
index 33dfdb0..5ffba63 100644
--- a/support/export/client.c
+++ b/support/export/client.c
@@ -262,6 +262,10 @@ client_compose(struct in_addr addr)
 			name = add_name(name, clp->m_hostname);
 		}
 	}
+
+	if (he != NULL)
+		free(he);
+
 	return name;
 }
 


Index: nfs-utils.spec
===================================================================
RCS file: /cvs/pkgs/rpms/nfs-utils/devel/nfs-utils.spec,v
retrieving revision 1.130
retrieving revision 1.131
diff -u -r1.130 -r1.131
--- nfs-utils.spec	10 May 2007 15:28:48 -0000	1.130
+++ nfs-utils.spec	10 May 2007 17:29:15 -0000	1.131
@@ -48,6 +48,7 @@
 Patch81: nfs-utils-1.0.10-mount-fake.patch
 Patch82: nfs-utils-1.0.12-mount-v4-errors.patch
 Patch83: nfs-utils-1.0.12-rmtab-ipaddr-manupdate.patch
+Patch84: nfs-utils-1.0.12-mountd-memleak.patch
 
 %if %{enablefscache}
 Patch90: nfs-utils-1.0.9-mount-fsc.patch
@@ -121,6 +122,7 @@
 %patch81 -p1
 %patch82 -p1
 %patch83 -p1
+%patch84 -p1
 %if %{enablefscache}
 %patch90 -p1
 %endif
@@ -300,6 +302,7 @@
 - Fix mount.nfs4 to display correct error message (bz 227212)
 - Updated mountd and showmount reverse lookup flags (bz 220772)
 - Eliminate timeout on nfsd shutdowns (bz 222001)
+- Eliminate memory leak in mountd (bz 239536)
 
 * Tue Apr  3 2007 Steve Dickson <steved at redhat.com> 1.0.12-4
 - Replace portmap dependency with an rpcbind dependency (bz 228894)




More information about the fedora-extras-commits mailing list