From c9699c1072eb84f1ae6e89417a8abec2749e5d95 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Tue, 30 Apr 2002 14:43:05 +0000 Subject: [PATCH] Fix previous commit - must fully init newAVA --- libraries/libldap/getdn.c | 2 ++ 1 file changed, 2 insertions(+) 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 ); -- 2.39.5