From e154da3a096ad7e143351616cef456a1a73e80b3 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Tue, 15 Jan 2002 19:54:21 +0000 Subject: [PATCH] Remove some asserts. Need to re-valid logic --- servers/slapd/schema_init.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/servers/slapd/schema_init.c b/servers/slapd/schema_init.c index 85992cfd0a..0a04ec6d0b 100644 --- a/servers/slapd/schema_init.c +++ b/servers/slapd/schema_init.c @@ -1138,7 +1138,6 @@ retry: } idx = p - left.bv_val; - assert( idx < left.bv_len ); if( idx >= left.bv_len ) { /* this shouldn't happen */ @@ -2169,7 +2168,6 @@ retry: } idx = p - left.bv_val; - assert( idx < left.bv_len ); if( idx >= left.bv_len ) { /* this shouldn't happen */ @@ -2734,8 +2732,6 @@ retry: } idx = p - left.bv_val; - assert( idx < left.bv_len ); - if( idx >= left.bv_len ) { /* this shouldn't happen */ return LDAP_OTHER; -- 2.39.5