You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2004/04/07 11:18:37 UTC
DO NOT REPLY [Bug 28250] New: -
Crash in LDAP cache util_ldap_search_node_copy
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: bugs@httpd.apache.org
ReportedBy: jah@progress.com
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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org