FreeBSD Bugzilla – Attachment 223012 Details for
Bug 34171
ftpd(8) indiscrete about unprivileged user accounts
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
libexec/ftpd: don't leak names of unprivileged accounts
ftpd.patch (text/plain), 522 bytes, created by
David Schlachter
on 2021-03-05 19:24:35 UTC
(
hide
)
Description:
libexec/ftpd: don't leak names of unprivileged accounts
Filename:
MIME Type:
Creator:
David Schlachter
Created:
2021-03-05 19:24:35 UTC
Size:
522 bytes
patch
obsolete
>diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c >index 25ae3fba956b..40e2b2c7a237 100644 >--- a/libexec/ftpd/ftpd.c >+++ b/libexec/ftpd/ftpd.c >@@ -1067,13 +1067,7 @@ user(char *name) > if (cp == NULL || > (checkuser(_PATH_FTPUSERS, name, 1, NULL, &ecode) || > (ecode != 0 && ecode != ENOENT))) { >- reply(530, "User %s access denied.", name); >- if (logging) >- syslog(LOG_NOTICE, >- "FTP LOGIN REFUSED FROM %s, %s", >- remotehost, name); > pw = NULL; >- return; > } > } > if (logging)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 34171
: 223012