1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-27 11:55:06 +00:00
freebsd/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
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
mountd.8
mountd.c Fix strsep_quote() on strings without quotes. 2019-06-25 17:00:53 +00:00
netgroup.5
pathnames.h Modify mountd so that it incrementally updates the kernel exports upon a reload. 2019-06-03 22:58:51 +00:00