diff options
author | Matthew Daley <mattd@bugfuzz.com> | 2014-09-28 17:49:35 +1300 |
---|---|---|
committer | Stanislav Malyshev <stas@php.net> | 2014-09-28 12:23:52 -0700 |
commit | fcbe20d3577ad261f4b8a77714a2fb6facc85dbd (patch) | |
tree | 68f43df6c09734421e957f294c8dcb876b7d16c0 /sapi/phpdbg/phpdbg_cmd.c | |
parent | 2711948d14cbcd5ababf82cae55ef25f3f870e1f (diff) | |
download | php-git-fcbe20d3577ad261f4b8a77714a2fb6facc85dbd.tar.gz |
Set an LDAP error code when failing ldap_bind due to null bytes
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.
Diffstat (limited to 'sapi/phpdbg/phpdbg_cmd.c')
0 files changed, 0 insertions, 0 deletions