ldap_search() sizelimit, timelimit and deref options persist
| Bug #48441 | ldap_search() sizelimit, timelimit and deref options persist | ||||
|---|---|---|---|---|---|
| Submitted: | 2009-05-31 21:53 UTC | Modified: | 2009-06-15 15:24 UTC | ||
| From: | patrickallaert@php.net | Assigned: | patrickallaert (profile) | ||
| Status: | Closed | Package: | LDAP related | ||
| PHP Version: | 5.*, 6CVS (2009-06-01) | OS: | * | ||
| Private report: | No | CVE-ID: | None | ||
[2009-05-31 21:53 UTC] patrickallaert@php.net
Description: ------------ Specifiying sizelimit, timelimit and deref options in ldap_search() makes them persistent for next call to ldap_search(). <?php // ldap_search() with sizelimit, timelimit and deref options ldap_search($link, $dn, $filter, $attrs, 1, 1, 1, LDAP_DEREF_ALWAYS); // Default value not used for sizelimit, timelimit and deref, previous one used. // Returns same truncated (due to sizelimit) results as previous call ldap_search($link, $dn, $filter, $attrs, 1); ?>
Patches
Pull Requests
History
AllCommentsChangesGit/SVN commits
[2009-06-01 09:02 UTC] jani@php.net
[2009-06-01 10:24 UTC] patrickallaert@php.net
[2009-06-02 10:59 UTC] jani@php.net
[2009-06-15 15:24 UTC] patrickallaert@php.net