From: Pierangelo Masarati Date: Thu, 15 Dec 2005 11:55:46 +0000 (+0000) Subject: a back-ldap consumer segfaults when accessing members of conn... X-Git-Tag: OPENLDAP_REL_ENG_2_4_BP~600 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=62d4ae9058922203b54c3e174473dd8f68592fda;p=openldap a back-ldap consumer segfaults when accessing members of conn... --- diff --git a/servers/slapd/overlays/syncprov.c b/servers/slapd/overlays/syncprov.c index 43307e5279..c3809699e1 100644 --- a/servers/slapd/overlays/syncprov.c +++ b/servers/slapd/overlays/syncprov.c @@ -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;