Date: Mon, 3 Jan 2011 21:28:12 +0000 (UTC) From: "Christian S.J. Peron" <csjp@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/libexec/ftpd ftpd.c Message-ID: <201101032128.p03LSYhj081769@repoman.freebsd.org>
index | next in thread | raw e-mail
csjp 2011-01-03 21:28:12 UTC
FreeBSD src repository
Modified files:
libexec/ftpd ftpd.c
Log:
SVN rev 216932 on 2011-01-03 21:28:12Z by csjp
expand checkuser() to support the propagation of error codes back to
the caller. Currently, checkuser() does not differentiate between the
failure to open the file and the absence of a user in the file. Check
to see if there was an error opening the file. If there are any errors,
terminate the connection. Currently, the only exception to this rule
is ENOENT, since there is nothing that says the /etc/ftpuser
and /etc/ftpchroot has to exist.
MFC after: 3 weeks
Revision Changes Path
1.217 +27 -8 src/libexec/ftpd/ftpd.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101032128.p03LSYhj081769>
