mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
cleanup
This commit is contained in:
parent
76bab2b6df
commit
d8d3bded72
@ -137,7 +137,7 @@ int slap_bv2ad(
|
||||
assert( ad != NULL );
|
||||
assert( *ad == NULL ); /* temporary */
|
||||
|
||||
if( bv == NULL || bv->bv_len == 0 ) {
|
||||
if( bv == NULL || BER_BVISNULL( bv ) || BER_BVISEMPTY( bv ) ) {
|
||||
*text = "empty attribute description";
|
||||
return rtn;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user