From: Howard Chu Date: Mon, 22 Mar 2004 21:16:15 +0000 (+0000) Subject: ITS#3033 fix from HEAD X-Git-Tag: OPENLDAP_REL_ENG_2_1_29~8 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=64d619331c00ded0838512506000ab3a4c91398e;p=openldap ITS#3033 fix from HEAD --- diff --git a/servers/slapd/saslauthz.c b/servers/slapd/saslauthz.c index 15961c3b84..7e4f858a60 100644 --- a/servers/slapd/saslauthz.c +++ b/servers/slapd/saslauthz.c @@ -370,6 +370,7 @@ static int sasl_sc_sasl2dn( BackendDB *be, Connection *conn, Operation *o, if( ndn->bv_val ) { free(ndn->bv_val); ndn->bv_val = NULL; + ndn->bv_len = 0; #ifdef NEW_LOGGING LDAP_LOG( TRANSPORT, DETAIL1,