diff --git a/servers/slapd/schema_init.c b/servers/slapd/schema_init.c index ddc92abb72..3e98b7f7a2 100644 --- a/servers/slapd/schema_init.c +++ b/servers/slapd/schema_init.c @@ -251,7 +251,7 @@ IA5StringNormalize( /* EMPTY */ ; } - if( *p ) { + if( *p != '\0' ) { ch_free( newval ); return LDAP_INVALID_SYNTAX; }