mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Bug in chkResponseList loop (ITS#1047) from David @ Novell
This commit is contained in:
parent
7f91ee936f
commit
bd4c6b84ea
@ -166,9 +166,9 @@ chkResponseList(
|
|||||||
}
|
}
|
||||||
|
|
||||||
for ( tmp = lm; tmp != NULL; tmp = tmp->lm_chain ) {
|
for ( tmp = lm; tmp != NULL; tmp = tmp->lm_chain ) {
|
||||||
if ( lm->lm_msgtype != LDAP_RES_SEARCH_ENTRY
|
if ( tmp->lm_msgtype != LDAP_RES_SEARCH_ENTRY
|
||||||
&& lm->lm_msgtype != LDAP_RES_SEARCH_REFERENCE
|
&& tmp->lm_msgtype != LDAP_RES_SEARCH_REFERENCE
|
||||||
&& lm->lm_msgtype != LDAP_RES_EXTENDED_PARTIAL )
|
&& tmp->lm_msgtype != LDAP_RES_EXTENDED_PARTIAL )
|
||||||
{
|
{
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -211,6 +211,7 @@ chkResponseList(
|
|||||||
#endif
|
#endif
|
||||||
return lm;
|
return lm;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
wait4msg(
|
wait4msg(
|
||||||
LDAP *ld,
|
LDAP *ld,
|
||||||
|
Loading…
Reference in New Issue
Block a user