bin/170413: commit references a PR
dfilter service
dfilter at FreeBSD.ORG
Wed Feb 20 12:50:01 UTC 2013
The following reply was made to PR bin/170413; it has been noted by GNATS.
From: dfilter at FreeBSD.ORG (dfilter service)
To: bug-followup at FreeBSD.org
Cc:
Subject: Re: bin/170413: commit references a PR
Date: Wed, 20 Feb 2013 12:40:38 +0000 (UTC)
Author: pluknet
Date: Wed Feb 20 12:40:26 2013
New Revision: 247034
URL: http://svnweb.freebsd.org/changeset/base/247034
Log:
Check if the -sec option is given without an argument.
PR: bin/170413
Submitted by: Andrey Simonenko <simon at comsys.ntu-kpi.kiev.ua>
MFC after: 1 week
Modified:
head/usr.sbin/mountd/mountd.c
Modified: head/usr.sbin/mountd/mountd.c
==============================================================================
--- head/usr.sbin/mountd/mountd.c Wed Feb 20 12:14:49 2013 (r247033)
+++ head/usr.sbin/mountd/mountd.c Wed Feb 20 12:40:26 2013 (r247034)
@@ -2235,7 +2235,7 @@ do_opt(char **cpp, char **endcpp, struct
ep->ex_indexfile = strdup(cpoptarg);
} else if (!strcmp(cpopt, "quiet")) {
opt_flags |= OP_QUIET;
- } else if (!strcmp(cpopt, "sec")) {
+ } else if (cpoptarg && !strcmp(cpopt, "sec")) {
if (parsesec(cpoptarg, ep))
return (1);
opt_flags |= OP_SEC;
_______________________________________________
svn-src-all at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscribe at freebsd.org"
More information about the freebsd-bugs
mailing list