[Bug 238725] Severe NFS exports(5) -maproot regression for :group definition
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Jun 25 17:01:31 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238725
--- Comment #3 from commit-hook at freebsd.org ---
A commit references this bug:
Author: mav
Date: Tue Jun 25 17:00:54 UTC 2019
New revision: 349376
URL: https://svnweb.freebsd.org/changeset/base/349376
Log:
Fix strsep_quote() on strings without quotes.
For strings without quotes and escapes dstptr and srcptr are equal, so
zeroing *dstptr before checking *srcptr is not a good idea. In practice
it means that in -maproot=65534:65533 everything after the colon is lost.
The problem was there since r293305, but before r346976 it was covered by
improper strsep_quote() usage.
PR: 238725
MFC after: 3 days
Sponsored by: iXsystems, Inc.
Changes:
head/usr.sbin/mountd/mountd.c
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list