mirror of
https://github.com/php/php-src.git
synced 2026-04-14 19:41:05 +02:00
Some applications check a LDAP link's error code after seeing ldap_bind fail due to a null byte bind attempt and hence incorrectly receive the last set error code. Fix by setting an LDAP error code before returning in this case.