From: Howard Chu Date: Sat, 20 Mar 2004 09:51:33 +0000 (+0000) Subject: ITS#3033 fix debug msg segv X-Git-Tag: OPENLDAP_REL_ENG_2_2_BP~191 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=09a379394a112d3493a16fa0f25b52cf73c7d363;p=openldap ITS#3033 fix debug msg segv --- diff --git a/servers/slapd/saslauthz.c b/servers/slapd/saslauthz.c index 50d9d297dd..40b454d82f 100644 --- a/servers/slapd/saslauthz.c +++ b/servers/slapd/saslauthz.c @@ -561,6 +561,7 @@ static int sasl_sc_sasl2dn( Operation *o, SlapReply *rs ) if( ndn->bv_val ) { o->o_tmpfree(ndn->bv_val, o->o_tmpmemctx); ndn->bv_val = NULL; + ndn->bv_len = 0; #ifdef NEW_LOGGING LDAP_LOG( TRANSPORT, DETAIL1,