Bugzilla – Attachment 424 Details for
Bug 652
PermitEmptyPasswords option silently ignored
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix empty password auth
passfix.diff (text/plain), 637 bytes, created by
Damien Miller
on 2003-09-18 18:19:35 AEST
(
hide
)
Description:
Fix empty password auth
Filename:
MIME Type:
Creator:
Damien Miller
Created:
2003-09-18 18:19:35 AEST
Size:
637 bytes
patch
obsolete
>Index: auth-passwd.c >=================================================================== >RCS file: /var/cvs/openssh/auth-passwd.c,v >retrieving revision 1.61 >diff -u -r1.61 auth-passwd.c >--- auth-passwd.c 13 Sep 2003 00:41:56 -0000 1.61 >+++ auth-passwd.c 18 Sep 2003 08:15:22 -0000 >@@ -143,7 +143,7 @@ > char *pw_password = authctxt->valid ? shadow_pw(pw) : pw->pw_passwd; > > /* Check for users with no password. */ >- if (strcmp(pw_password, "") == 0 && strcmp(pw->pw_passwd, "") == 0) >+ if (strcmp(pw_password, "") == 0 && strcmp(password, "") == 0) > return ok; > else { > /* Encrypt the candidate password using the proper salt. */
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 652
: 424