From 014393dfa21a38de850df34db12e3d054e10b581 Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Sat, 30 Jul 2005 23:54:00 +0000 Subject: [PATCH] Initialize a_flags of new Attribute in str2entry2(). --- servers/slapd/entry.c | 1 + 1 file changed, 1 insertion(+) 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 && -- 2.39.5