]> git.sur5r.net Git - openldap/commitdiff
a back-ldap consumer segfaults when accessing members of conn...
authorPierangelo Masarati <ando@openldap.org>
Thu, 15 Dec 2005 11:55:46 +0000 (11:55 +0000)
committerPierangelo Masarati <ando@openldap.org>
Thu, 15 Dec 2005 11:55:46 +0000 (11:55 +0000)
servers/slapd/overlays/syncprov.c

index 43307e5279de7c6c12cde86d25e4c5304635f093..c3809699e17f21004cc0d1be620760cdcbc1ca88 100644 (file)
@@ -2279,8 +2279,8 @@ syncprov_db_open(
        slap_overinst   *on = (slap_overinst *) be->bd_info;
        syncprov_info_t *si = (syncprov_info_t *)on->on_bi.bi_private;
 
-       Connection conn;
-       OperationBuffer opbuf;
+       Connection conn = { 0 };
+       OperationBuffer opbuf = { 0 };
        char ctxcsnbuf[LDAP_LUTIL_CSNSTR_BUFSIZE];
        Operation *op = (Operation *) &opbuf;
        Entry *e;