]> git.sur5r.net Git - openldap/commitdiff
always invalidate freed memory\!
authorPierangelo Masarati <ando@openldap.org>
Tue, 18 Jan 2005 09:29:14 +0000 (09:29 +0000)
committerPierangelo Masarati <ando@openldap.org>
Tue, 18 Jan 2005 09:29:14 +0000 (09:29 +0000)
servers/slapd/bind.c

index 84ae197eded45eb45730a56b961be2eac12111f4..cbc6abd83e877698fc9db9577efe06e309daa172 100644 (file)
@@ -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 {