Bugzilla – Attachment 1447 Details for
Bug 1432
MaxAuthTries is not used correctly
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix for the bug reported
max_auth_tries.patch (text/plain), 362 bytes, created by
Jan Pechanec
on 2008-01-27 03:35:06 AEDT
(
hide
)
Description:
fix for the bug reported
Filename:
MIME Type:
Creator:
Jan Pechanec
Created:
2008-01-27 03:35:06 AEDT
Size:
362 bytes
patch
obsolete
>--- auth2.c Sat Jan 26 17:21:27 2008 >+++ auth2.c.new Sat Jan 26 17:21:10 2008 >@@ -265,7 +265,7 @@ > /* now we can break out */ > authctxt->success = 1; > } else { >- if (authctxt->failures++ > options.max_authtries) { >+ if (++authctxt->failures >= options.max_authtries) { > #ifdef SSH_AUDIT_EVENTS > PRIVSEP(audit_event(SSH_LOGIN_EXCEED_MAXTRIES)); > #endif
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 1432
: 1447