mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
* modules/ldap/util_ldap.c (util_ldap_post_config): Fix false
positives from gcc -Wformat-security. * modules/ldap/util_ldap_cache.c (util_ldap_url_node_display): Add default to switch to avoid uninitialised variable warnings. * modules/ldap/util_ldap_cache_mgr.c (util_ald_create_caches): Fix to return NULL rather than random chunk from stack on error path. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105105 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -99,6 +99,7 @@ void util_ldap_url_node_display(request_rec *r, util_ald_cache_t *cache, void *n
|
||||
type_str = "Compares";
|
||||
break;
|
||||
case 2:
|
||||
default:
|
||||
cache_node = node->dn_compare_cache;
|
||||
type_str = "DN Compares";
|
||||
break;
|
||||
|
Reference in New Issue
Block a user