From: Howard Chu Date: Thu, 18 Aug 2011 08:52:52 +0000 (-0700) Subject: For #6982 fix a66fb16 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=433812db38d3258d16afd827789f69a087f1cf0b;p=openldap For #6982 fix a66fb16 --- diff --git a/servers/slapd/operation.c b/servers/slapd/operation.c index f808320501..eff5f56429 100644 --- a/servers/slapd/operation.c +++ b/servers/slapd/operation.c @@ -128,6 +128,7 @@ slap_op_free( Operation *op, void *ctx ) BER_BVZERO( &op->o_req_ndn ); memset( &op->o_request, 0, sizeof( op->o_request )); memset( &op->o_do_not_cache, 0, sizeof( Operation ) - offsetof( Operation, o_do_not_cache )); + memset( opbuf->ob_controls, 0, sizeof( opbuf->ob_controls )); op->o_controls = opbuf->ob_controls; if ( ctx ) {