a back-ldap consumer segfaults when accessing members of conn...

This commit is contained in:
Pierangelo Masarati 2005-12-15 11:55:46 +00:00
parent 430aff35bb
commit 62d4ae9058

View 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;