From: Howard Chu Date: Tue, 30 Apr 2002 14:43:05 +0000 (+0000) Subject: Fix previous commit - must fully init newAVA X-Git-Tag: OPENLDAP_REL_ENG_2_MP~135 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c9699c1072eb84f1ae6e89417a8abec2749e5d95;p=openldap Fix previous commit - must fully init newAVA --- diff --git a/libraries/libldap/getdn.c b/libraries/libldap/getdn.c index 3b188eb203..05c370bf8e 100644 --- a/libraries/libldap/getdn.c +++ b/libraries/libldap/getdn.c @@ -3382,6 +3382,8 @@ ldap_X509dn2bv( void *x509_name, struct berval *bv, LDAPDN_rewrite_func *func, k = 0; set = ne->set; } + newAVA->la_private = NULL; + newAVA->la_flags = LDAP_AVA_STRING; if ( !func ) { int n = OBJ_obj2nid( obj );