From: Hallvard Furuseth Date: Sat, 30 Jul 2005 23:54:00 +0000 (+0000) Subject: Initialize a_flags of new Attribute in str2entry2(). X-Git-Tag: OPENLDAP_AC_BP~139 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=014393dfa21a38de850df34db12e3d054e10b581;p=openldap Initialize a_flags of new Attribute in str2entry2(). --- diff --git a/servers/slapd/entry.c b/servers/slapd/entry.c index a5b34ea99a..9441de24e6 100644 --- a/servers/slapd/entry.c +++ b/servers/slapd/entry.c @@ -230,6 +230,7 @@ str2entry2( char *s, int checkvals ) int j, k; atail->a_next = (Attribute *) ch_malloc( sizeof(Attribute) ); atail = atail->a_next; + atail->a_flags = 0; atail->a_desc = ad_prev; atail->a_vals = ch_malloc( (attr_cnt + 1) * sizeof(struct berval)); if( ad_prev->ad_type->sat_equality &&