Commit 72122b82 authored by Howard Chu's avatar Howard Chu Committed by Quanah Gibson-Mount
Browse files

ITS#9410 remove assert in csnValidate

parent 87c18eac
......@@ -5069,9 +5069,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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment