]> git.sur5r.net Git - openldap/commitdiff
(blind) fix to ITS#4386 (uninitialized var)
authorPierangelo Masarati <ando@openldap.org>
Fri, 3 Feb 2006 18:06:00 +0000 (18:06 +0000)
committerPierangelo Masarati <ando@openldap.org>
Fri, 3 Feb 2006 18:06:00 +0000 (18:06 +0000)
servers/slapd/overlays/accesslog.c

index 06a05f1d7dced155b8744409dd25dfd2c53249b2..0030821b63370a9722cf22cb034a393ed803f5d5 100644 (file)
@@ -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;