[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#3761) unterminatd string in servers/slapd/config.c



Full_Name: Peter Marschall
Version: REL_ENG_2_2
OS: 
URL: 
Submission from: (NULL) (84.56.107.129)


Hi,

the "schemacheck off" warning fix introduced a bug (missing string terminator) 
into the REL_ENG_2_2 branch.The attached patch fixes it.

--- servers/slapd/config.c
+++ servers/slapd/config.c      2005-06-05 11:04:05.000000000 +0200
@@ -1810,8 +1810,8 @@
                        if ( strcasecmp( cargv[1], "off" ) == 0 ) {
 #ifdef NEW_LOGGING
                                LDAP_LOG( CONFIG, CRIT,
-                                       "%s: line %d: schema checking cannot be
disabled, option ignored!
-                                       "vary!\n", fname, lineno , 0 );
+                                       "%s: line %d: schema checking cannot be
disabled, option ignored!\n",
+                                       fname, lineno , 0 );
 #else
                                Debug( LDAP_DEBUG_ANY,
                                        "%s: line %d: schema checking cannot be
diabled, option ignored!\n",