]> git.sur5r.net Git - openldap/commitdiff
ITS#3033 fix from HEAD
authorHoward Chu <hyc@openldap.org>
Mon, 22 Mar 2004 21:16:15 +0000 (21:16 +0000)
committerHoward Chu <hyc@openldap.org>
Mon, 22 Mar 2004 21:16:15 +0000 (21:16 +0000)
servers/slapd/saslauthz.c

index 15961c3b8459ac8beb18480c05ae16e56f53701b..7e4f858a602b1eff5a527d9a5ae411f5e23ad199 100644 (file)
@@ -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,