mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-20 22:59:34 -05:00
ITS#9384 remove assert in obsolete csnNormalize23()
This commit is contained in:
parent
265d362f27
commit
c0eeb2b9b8
1 changed files with 2 additions and 2 deletions
|
|
@ -5401,8 +5401,8 @@ csnNormalize23(
|
|||
}
|
||||
*ptr = '\0';
|
||||
|
||||
assert( ptr == &bv.bv_val[bv.bv_len] );
|
||||
if ( csnValidate( syntax, &bv ) != LDAP_SUCCESS ) {
|
||||
if ( ptr != &bv.bv_val[bv.bv_len] ||
|
||||
csnValidate( syntax, &bv ) != LDAP_SUCCESS ) {
|
||||
return LDAP_INVALID_SYNTAX;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue