Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F151025440
D47013.id144488.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
439 B
Referenced Files
None
Subscribers
None
D47013.id144488.diff
View Options
diff --git a/sys/kern/vfs_mount.c b/sys/kern/vfs_mount.c
--- a/sys/kern/vfs_mount.c
+++ b/sys/kern/vfs_mount.c
@@ -1497,7 +1497,7 @@
bcopy(bufp, &export, len);
grps = NULL;
if (export.ex_ngroups > 0) {
- if (export.ex_ngroups <= NGROUPS_MAX) {
+ if (export.ex_ngroups <= ngroups_max + 1) {
grps = malloc(export.ex_ngroups *
sizeof(gid_t), M_TEMP, M_WAITOK);
export_error = copyin(export.ex_groups,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Apr 6, 12:55 PM (15 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30945663
Default Alt Text
D47013.id144488.diff (439 B)
Attached To
Mode
D47013: nmount(2), NFS: Accept 'ngroups_max + 1' groups in "export" credentials
Attached
Detach File
Event Timeline
Log In to Comment