mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-30 03:29:35 -05:00
ITS#10028 - crash with pwdMinDelay
This commit is contained in:
parent
5f934c8c45
commit
0e409f49ec
1 changed files with 2 additions and 1 deletions
|
|
@ -1868,7 +1868,8 @@ ppolicy_bind_response( Operation *op, SlapReply *rs )
|
|||
} else if ( ppb->pp.pwdMinDelay ) {
|
||||
int waittime = ppb->pp.pwdMinDelay << fc;
|
||||
time_t wait_end;
|
||||
struct berval lockout_stamp;
|
||||
char lockout_stamp_buf[ LDAP_LUTIL_GENTIME_BUFSIZE ];
|
||||
struct berval lockout_stamp = BER_BVC(lockout_stamp_buf);
|
||||
|
||||
if ( waittime > ppb->pp.pwdMaxDelay ) {
|
||||
waittime = ppb->pp.pwdMaxDelay;
|
||||
|
|
|
|||
Loading…
Reference in a new issue