From 09a379394a112d3493a16fa0f25b52cf73c7d363 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sat, 20 Mar 2004 09:51:33 +0000 Subject: [PATCH] ITS#3033 fix debug msg segv --- servers/slapd/saslauthz.c | 1 + 1 file changed, 1 insertion(+) 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, -- 2.39.5