diff --git a/servers/slapd/schema_init.c b/servers/slapd/schema_init.c index 652c341232..fea000a757 100644 --- a/servers/slapd/schema_init.c +++ b/servers/slapd/schema_init.c @@ -1486,7 +1486,7 @@ integerValidate( } } else if ( val.bv_val[0] == '0' ) { - if( val.bv_len == 1 ) { /* "0" */ + if( val.bv_len > 1 ) { /* "0" */ return LDAP_INVALID_SYNTAX; }