Univention Bugzilla – Attachment 10087 Details for
Bug 44602
Login impossible after using huge password
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for pam_krb5
44602-krb5.patch (text/plain), 663 bytes, created by
Florian Best
on 2019-06-25 21:58:12 CEST
(
hide
)
Description:
patch for pam_krb5
Filename:
MIME Type:
Creator:
Florian Best
Created:
2019-06-25 21:58:12 CEST
Size:
663 bytes
patch
obsolete
>diff --git a/auth.c b/auth.c >index ca68380..859f533 100644 >--- a/auth.c >+++ b/auth.c >@@ -238,9 +238,9 @@ maybe_retrieve_password(struct pam_args *args, int authtok, const char **pass) > if (!try && !use && !force) > return PAM_SUCCESS; > status = pam_get_item(args->pamh, authtok, (PAM_CONST void **) pass); >- if (*pass != NULL && **pass == '\0') { >+ if (*pass != NULL && (**pass == '\0' || strlen(*pass) > 512)) { > if (use || force) { >- putil_debug(args, "rejecting empty password"); >+ putil_debug(args, "rejecting empty or too long password"); > return PAM_AUTH_ERR; > } > *pass = NULL;
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 44602
:
10082
|
10083
|
10086
| 10087 |
10088
|
10089