From 71ea8bb2440dc346ebc10fbc83fb904eca3c863f Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Tue, 18 Jan 2005 09:29:14 +0000 Subject: [PATCH] always invalidate freed memory\! --- servers/slapd/bind.c | 1 + 1 file changed, 1 insertion(+) 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 { -- 2.39.5