From 5697278574ca7664591b8ae71b58e112b7733089 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sun, 25 Sep 2005 06:11:35 +0000 Subject: [PATCH] ITS#4040 fix uniqueMemberMatch when value is zero-length --- servers/slapd/schema_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) ) { -- 2.39.5