]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/schema.c
ITS#2368 - fix deleting key from range IDL
[openldap] / servers / slapd / schema.c
index e0e07583626e1870f14b904db99cf9eb4ea539c4..c5cb507770e5c2f3ca32d40892b62babd255ccae 100644 (file)
@@ -118,6 +118,7 @@ schema_info( Entry **entry, const char **text )
 
 #ifdef SLAP_NVALUES
                nvals[0].bv_val = strchr( global_schemandn.bv_val, '=' );
+               assert( nvals[0].bv_val );
                nvals[0].bv_val++;
                nvals[0].bv_len = global_schemandn.bv_len -
                        (nvals[0].bv_val - global_schemandn.bv_val);