]> granicus.if.org Git - php/commit
Fix bug in LDAP extensions' saving TIMELIMIT and DEREF
authorTyson Andre <tandre@ifwe.co>
Tue, 8 Sep 2015 22:24:09 +0000 (15:24 -0700)
committerTyson Andre <tandre@ifwe.co>
Wed, 9 Sep 2015 01:42:02 +0000 (18:42 -0700)
commitc3fc65eb7c3946c737ba9c323ca29d5fd6164449
treed4decb76a46cf2a7516c6136c307cd25463dc63b
parentbb98ed600ab6787d9d367927d49439be9a83441e
Fix bug in LDAP extensions' saving TIMELIMIT and DEREF

LDAP_OPT_TIMELIMIT and LDAP_OPT_DEREF's original values weren't
saved properly because of a bug introduced when copy and pasting.

This lead to the original timeout being changed
when specifying a temporary override (e.g. for ldap_search(..., $timeout))
ext/ldap/ldap.c
ext/ldap/tests/ldap_search_overrides.phpt [new file with mode: 0644]