mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-18 11:05:48 +08:00
Remove assert() pending logic reevaluation
This commit is contained in:
parent
84aff5c9e2
commit
d109b9d7ca
@ -739,8 +739,6 @@ retry:
|
|||||||
}
|
}
|
||||||
|
|
||||||
idx = p - left.bv_val;
|
idx = p - left.bv_val;
|
||||||
assert( idx < left.bv_len );
|
|
||||||
|
|
||||||
if( idx >= left.bv_len ) {
|
if( idx >= left.bv_len ) {
|
||||||
/* this shouldn't happen */
|
/* this shouldn't happen */
|
||||||
return LDAP_OTHER;
|
return LDAP_OTHER;
|
||||||
@ -1308,8 +1306,6 @@ retry:
|
|||||||
}
|
}
|
||||||
|
|
||||||
idx = p - left.bv_val;
|
idx = p - left.bv_val;
|
||||||
assert( idx < left.bv_len );
|
|
||||||
|
|
||||||
if( idx >= left.bv_len ) {
|
if( idx >= left.bv_len ) {
|
||||||
/* this shouldn't happen */
|
/* this shouldn't happen */
|
||||||
return LDAP_OTHER;
|
return LDAP_OTHER;
|
||||||
@ -2135,7 +2131,6 @@ retry:
|
|||||||
}
|
}
|
||||||
|
|
||||||
idx = p - left.bv_val;
|
idx = p - left.bv_val;
|
||||||
assert( idx < left.bv_len );
|
|
||||||
|
|
||||||
if( idx >= left.bv_len ) {
|
if( idx >= left.bv_len ) {
|
||||||
/* this shouldn't happen */
|
/* this shouldn't happen */
|
||||||
@ -2700,8 +2695,6 @@ retry:
|
|||||||
}
|
}
|
||||||
|
|
||||||
idx = p - left.bv_val;
|
idx = p - left.bv_val;
|
||||||
assert( idx < left.bv_len );
|
|
||||||
|
|
||||||
if( idx >= left.bv_len ) {
|
if( idx >= left.bv_len ) {
|
||||||
/* this shouldn't happen */
|
/* this shouldn't happen */
|
||||||
return LDAP_OTHER;
|
return LDAP_OTHER;
|
||||||
|
Loading…
Reference in New Issue
Block a user