From: Pierangelo Masarati Date: Fri, 3 Feb 2006 18:06:00 +0000 (+0000) Subject: (blind) fix to ITS#4386 (uninitialized var) X-Git-Tag: OPENLDAP_REL_ENG_2_4_BP~236 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=140bc77e504d61c9e08f712a03d7936495b228c2;p=openldap (blind) fix to ITS#4386 (uninitialized var) --- diff --git a/servers/slapd/overlays/accesslog.c b/servers/slapd/overlays/accesslog.c index 06a05f1d7d..0030821b63 100644 --- a/servers/slapd/overlays/accesslog.c +++ b/servers/slapd/overlays/accesslog.c @@ -1112,7 +1112,7 @@ accesslog_unbind( Operation *op, SlapReply *rs ) slap_overinst *on = (slap_overinst *)op->o_bd->bd_info; if ( op->o_conn->c_authz_backend == on->on_info->oi_origdb ) { log_info *li = on->on_bi.bi_private; - Operation op2; + Operation op2 = {0}; void *cids[SLAP_MAX_CIDS]; SlapReply rs2 = {REP_RESULT}; Entry *e; @@ -1145,7 +1145,7 @@ accesslog_abandon( Operation *op, SlapReply *rs ) { slap_overinst *on = (slap_overinst *)op->o_bd->bd_info; log_info *li = on->on_bi.bi_private; - Operation op2; + Operation op2 = {0}; void *cids[SLAP_MAX_CIDS]; SlapReply rs2 = {REP_RESULT}; Entry *e;