From: Howard Chu Date: Thu, 14 Sep 2006 21:11:26 +0000 (+0000) Subject: Fix invalid attributes in translucent_modify X-Git-Tag: OPENLDAP_REL_ENG_2_3_MP~132 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7fd2e6538625496a0480ca8d61733ccda3a3d0db;p=openldap Fix invalid attributes in translucent_modify --- diff --git a/servers/slapd/overlays/translucent.c b/servers/slapd/overlays/translucent.c index 12a2db2211..a6ffc7d28a 100644 --- a/servers/slapd/overlays/translucent.c +++ b/servers/slapd/overlays/translucent.c @@ -424,7 +424,7 @@ release: } a = attr_alloc( m->sml_desc ); a->a_vals = m->sml_values; - a->a_nvals = m->sml_nvalues; + a->a_nvals = m->sml_nvalues ? m->sml_nvalues : a->a_vals; a->a_next = ax; ax = a; }