[nfs-utils] - Fixed segfault in rpc.mountd (bz 669065)
Steve Dickson
steved at fedoraproject.org
Wed Jan 26 12:44:27 UTC 2011
commit bd016522fb0659ec17322f6670bf3e83d11cdbbf
Author: Steve Dickson <steved at redhat.com>
Date: Wed Jan 26 07:43:43 2011 -0500
- Fixed segfault in rpc.mountd (bz 669065)
Signed-off-by: Steve Dickson <steved at redhat.com>
nfs-utils-1.2.3-mountd-mlist.patch | 11 +++++++++++
nfs-utils.spec | 7 ++++++-
2 files changed, 17 insertions(+), 1 deletions(-)
---
diff --git a/nfs-utils-1.2.3-mountd-mlist.patch b/nfs-utils-1.2.3-mountd-mlist.patch
new file mode 100644
index 0000000..568ed56
--- /dev/null
+++ b/nfs-utils-1.2.3-mountd-mlist.patch
@@ -0,0 +1,11 @@
+diff -up nfs-utils-1.2.3/utils/mountd/rmtab.c.orig nfs-utils-1.2.3/utils/mountd/rmtab.c
+--- nfs-utils-1.2.3/utils/mountd/rmtab.c.orig 2011-01-25 11:09:29.484980000 -0500
++++ nfs-utils-1.2.3/utils/mountd/rmtab.c 2011-01-25 11:09:40.693309000 -0500
+@@ -205,6 +205,7 @@ mountlist_list(void)
+ }
+ if (stb.st_mtime != last_mtime) {
+ mountlist_freeall(mlist);
++ mlist = NULL;
+ last_mtime = stb.st_mtime;
+
+ setrmtabent("r");
diff --git a/nfs-utils.spec b/nfs-utils.spec
index 3d66d3b..dda45f7 100644
--- a/nfs-utils.spec
+++ b/nfs-utils.spec
@@ -2,7 +2,7 @@ Summary: NFS utilities and supporting clients and daemons for the kernel NFS ser
Name: nfs-utils
URL: http://sourceforge.net/projects/nfs
Version: 1.2.3
-Release: 7%{?dist}
+Release: 8%{?dist}
Epoch: 1
# group all 32bit related archs
@@ -18,6 +18,7 @@ Source14: rpcsvcgssd.init
Source15: nfs.sysconfig
Patch001: nfs-utils-1.2.4-rc5.patch
+Patch002: nfs-utils-1.2.3-mountd-mlist.patch
Patch100: nfs-utils-1.2.1-statdpath-man.patch
Patch101: nfs-utils-1.2.2-statdpath.patch
@@ -72,6 +73,7 @@ This package also contains the mount.nfs and umount.nfs program.
%setup -q
%patch001 -p1
+%patch002 -p1
%patch100 -p1
%patch101 -p1
@@ -253,6 +255,9 @@ fi
%attr(4755,root,root) /sbin/umount.nfs4
%changelog
+* Wed Jan 26 2011 Steve Dickson <steved at redhat.com> 1.2.3-8
+- Fixed segfault in rpc.mountd (bz 669065)
+
* Fri Jan 14 2011 Steve Dickson <steved at redhat.com> 1.2.3-7
- Updated to latest upstream release: nfs-utils-1-2-4-rc5
- Add initscripts changes needed for rpcbind to be running when nfs is started
More information about the scm-commits
mailing list