summaryrefslogtreecommitdiff
blob: 767588fc86f6aff583aaf2d5459b9f9d0f7a81f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
http://www.freebsd.org/security/advisories/FreeBSD-SA-13:08.nfsserver.asc
https://bugs.gentoo.org/show_bug.cgi?id=478314

Index: sys/kern/vfs_export.c
===================================================================
--- sys/kern/vfs_export.c	(revision 253367)
+++ sys/kern/vfs_export.c	(working copy)
@@ -208,7 +208,7 @@
 	np->netc_anon = crget();
 	np->netc_anon->cr_uid = argp->ex_anon.cr_uid;
 	crsetgroups(np->netc_anon, argp->ex_anon.cr_ngroups,
-	    np->netc_anon->cr_groups);
+	    argp->ex_anon.cr_groups);
 	np->netc_anon->cr_prison = &prison0;
 	prison_hold(np->netc_anon->cr_prison);
 	np->netc_numsecflavors = argp->ex_numsecflavors;