mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
Initialize a_flags of new Attribute in str2entry2().
This commit is contained in:
parent
42a9661071
commit
014393dfa2
@ -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 &&
|
||||
|
Loading…
Reference in New Issue
Block a user