https://bugzilla.novell.com/show_bug.cgi?id=648923
https://bugzilla.novell.com/show_bug.cgi?id=648923#c13
--- Comment #13 from Neil Brown 2010-10-27 03:37:49 UTC ---
I think I've spotted the problem.
The patch file mountd-fix-path-comparison-for in the source package
should have the patch as follows.
i.e. 2 usages of 'path' should be replaced with 'subpath'. The current patch
only changes one of them,
I'll see about building a package for you to test.
--- nfs-utils-1.2.1.orig/utils/mountd/cache.c
+++ nfs-utils-1.2.1/utils/mountd/cache.c
@@ -622,8 +622,8 @@ static int is_subdirectory(char *subpath
int l = strlen(path);
return strcmp(subpath, path) == 0
- || (strncmp(subpath, path, l) == 0 && path[l] == '/'
- && is_mountpoint(path));
+ || (strncmp(subpath, path, l) == 0 && subpath[l] == '/'
+ && is_mountpoint(subpath));
}
static int path_matches(nfs_export *exp, char *path)
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.