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 <e...@waniasset.com>



---------------------------------------------------------------------
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-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to