mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-25 09:09:54 -05:00
caught nasty empty DN bug
This commit is contained in:
parent
66ddf62922
commit
a10fe8e098
1 changed files with 4 additions and 1 deletions
|
|
@ -874,7 +874,10 @@ uniqueMemberNormalize(
|
|||
assert( SLAP_MR_IS_VALUE_OF_SYNTAX( usage ));
|
||||
|
||||
ber_dupbv( &out, val );
|
||||
if( out.bv_len != 0 ) {
|
||||
if( BER_BVISEMPTY( &out ) ) {
|
||||
*normalized = out;
|
||||
|
||||
} else {
|
||||
struct berval uid = BER_BVNULL;
|
||||
|
||||
if( out.bv_val[out.bv_len-1] == 'B'
|
||||
|
|
|
|||
Loading…
Reference in a new issue