mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-07 14:18:15 +08:00
ITS#9410 remove assert in csnValidate
This commit is contained in:
parent
b1c1a5eb51
commit
0c856f1b64
@ -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 New Issue
Block a user