mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-26 09:39:45 -05:00
ITS#9410 remove assert in csnValidate
This commit is contained in:
parent
b1c1a5eb51
commit
0c856f1b64
1 changed files with 1 additions and 2 deletions
|
|
@ -5144,9 +5144,8 @@ csnValidate(
|
|||
int rc;
|
||||
|
||||
assert( in != NULL );
|
||||
assert( !BER_BVISNULL( in ) );
|
||||
|
||||
if ( BER_BVISEMPTY( in ) ) {
|
||||
if ( BER_BVISNULL( in ) || BER_BVISEMPTY( in ) ) {
|
||||
return LDAP_INVALID_SYNTAX;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue