From: Howard Chu Date: Sun, 25 Sep 2005 06:11:35 +0000 (+0000) Subject: ITS#4040 fix uniqueMemberMatch when value is zero-length X-Git-Tag: OPENLDAP_REL_ENG_2_2_MP~388 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5697278574ca7664591b8ae71b58e112b7733089;p=openldap ITS#4040 fix uniqueMemberMatch when value is zero-length --- diff --git a/servers/slapd/schema_init.c b/servers/slapd/schema_init.c index 07fb1f0db6..b7cd3ba263 100644 --- a/servers/slapd/schema_init.c +++ b/servers/slapd/schema_init.c @@ -1086,8 +1086,8 @@ uniqueMemberMatch( } } + valueDN = *value; if ( !BER_BVISEMPTY( value ) ) { - valueDN = *value; valueUID.bv_val = strrchr( valueDN.bv_val, '#' ); if ( !BER_BVISNULL( &valueUID ) ) {