From: Pierangelo Masarati Date: Tue, 18 Jan 2005 09:29:14 +0000 (+0000) Subject: always invalidate freed memory\! X-Git-Tag: OPENLDAP_REL_ENG_2_3_BP~355 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=71ea8bb2440dc346ebc10fbc83fb904eca3c863f;p=openldap always invalidate freed memory\! --- diff --git a/servers/slapd/bind.c b/servers/slapd/bind.c index 84ae197ede..cbc6abd83e 100644 --- a/servers/slapd/bind.c +++ b/servers/slapd/bind.c @@ -594,6 +594,7 @@ fe_op_bind( Operation *op, SlapReply *rs ) } else if ( !BER_BVISNULL( &op->orb_edn ) ) { free( op->orb_edn.bv_val ); + BER_BVZERO( &op->orb_edn ); } } else {