mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-09-25 10:58:56 +02:00
- Fixed SEGVs in authloop, fix from vbzoli@hbrt.hu
This commit is contained in:
parent
1787252789
commit
1852246d30
@ -1,3 +1,6 @@
|
|||||||
|
20000203
|
||||||
|
- Fixed SEGVs in authloop, fix from vbzoli@hbrt.hu
|
||||||
|
|
||||||
20000202
|
20000202
|
||||||
- Fix lastlog code for directory based lastlogs. Fix from Josh Durham
|
- Fix lastlog code for directory based lastlogs. Fix from Josh Durham
|
||||||
<jmd@aoe.vt.edu>
|
<jmd@aoe.vt.edu>
|
||||||
|
4
sshd.c
4
sshd.c
@ -1524,8 +1524,10 @@ do_authloop(struct passwd * pw)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (client_user != NULL)
|
if (client_user != NULL) {
|
||||||
xfree(client_user);
|
xfree(client_user);
|
||||||
|
client_user = NULL;
|
||||||
|
}
|
||||||
|
|
||||||
if (attempt > AUTH_FAIL_MAX)
|
if (attempt > AUTH_FAIL_MAX)
|
||||||
packet_disconnect(AUTH_FAIL_MSG, pw->pw_name);
|
packet_disconnect(AUTH_FAIL_MSG, pw->pw_name);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user