diff mbox

Fixed segfault in rpc.mountd

Message ID 1296046655-20246-1-git-send-email-steved@redhat.com (mailing list archive)
State RFC, archived
Headers show

Commit Message

Steve Dickson Jan. 26, 2011, 12:57 p.m. UTC
None
diff mbox

Patch

diff --git a/utils/mountd/rmtab.c b/utils/mountd/rmtab.c
index d339296..527377f 100644
--- a/utils/mountd/rmtab.c
+++ b/utils/mountd/rmtab.c
@@ -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");