freebsd-dev/usr.sbin/mountd
Alexander Motin 4ae6e084f0 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.
2019-06-25 17:00:53 +00:00
..
exports.5 Bump .Dd for today's edit. 2019-02-11 16:31:15 +00:00
Makefile usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
mountd.8 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
mountd.c Fix strsep_quote() on strings without quotes. 2019-06-25 17:00:53 +00:00
netgroup.5 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
pathnames.h Modify mountd so that it incrementally updates the kernel exports upon a reload. 2019-06-03 22:58:51 +00:00