This commit is contained in:
Pierangelo Masarati 2004-06-30 16:25:14 +00:00
parent 76bab2b6df
commit d8d3bded72

View File

@ -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;
}