Re: Confused about LDAP authentication with Active Directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I installed debugging symbols and got a full backtrace.  The top stack frame is

#0  uldap_connection_init (r=0xb715d830, ldc=0xb7f086e0)
    at /usr/src/debug/httpd-2.2.10/modules/ldap/util_ldap.c:261
    rc = <value optimized out>
    ldap_option = 0
    version = 3
    result = (apr_ldap_err_t *) 0x0
    timeOut = {tv_sec = 10, tv_usec = 0}

The source code for this location can be seen at
<https://svn.apache.org/repos/asf/httpd/httpd/tags/2.2.10/modules/
ldap/util_ldap.c>.

The bug is that it doesn't check whether 'result' is null.  And I can also see
that happily, a null-pointer test was added in 2.2.11.  So I'll upgrade and try
again.

-- 
Ed Avis <eda@xxxxxxxxxxxxx>



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux