]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
Fix prev commit, attrs_dup left a_desc uninit'd
authorHoward Chu <hyc@openldap.org>
Fri, 1 Dec 2006 15:00:10 +0000 (15:00 +0000)
committerHoward Chu <hyc@openldap.org>
Fri, 1 Dec 2006 15:00:10 +0000 (15:00 +0000)
servers/slapd/attr.c

index 82c94abaa01b7674056c51f31c27105b0740adcc..5cf97ec67e6d00f63af0ef264ac3918605a57e53 100644 (file)
@@ -250,6 +250,7 @@ attrs_dup( Attribute *a )
        anew = attrs_alloc( i );
 
        for( tmp=anew; a; a=a->a_next ) {
+               tmp->a_desc = a->a_desc;
                attr_dup2( tmp, a );
                tmp=tmp->a_next;
        }