DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28250>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28250

Crash in LDAP cache util_ldap_search_node_copy

           Summary: Crash in LDAP cache util_ldap_search_node_copy
           Product: Apache httpd-2.0
           Version: 2.0.49
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: mod_ldap
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


LDAP cache code crashes in util_ldap_search_node_copy (file util_ldap_cache.c)if
the bindpw in cache node is NULL. This is because strdup() inside
util_ald_strdup() will try to copy the NULL pointer.

Note that the bindpw is normally not NULL when the cache is used with
mod_auth_ldap but I have made enhancements to ldap authorization that create
cache entries with bindpw unset.

The attached patch fixes this problem.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to