mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
Fix for RFC 2696 compliance - avoids infinite loop when talking to
Active Directory (which returns no cookie but size in the last paged results - this is permitted).
This commit is contained in:
parent
65b9c027f6
commit
bd8712ad36
@ -1594,6 +1594,10 @@ parse_page_control(
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
if ( servercookie.bv_len == 0 ) {
|
||||
morePagedResults = 0;
|
||||
}
|
||||
|
||||
ldap_controls_free( ctrl );
|
||||
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user