From: Pierangelo Masarati Date: Wed, 12 Jan 2005 15:11:17 +0000 (+0000) Subject: fix use of uninitialized var X-Git-Tag: OPENLDAP_REL_ENG_2_3_BP~411 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6bf8b945dda878dd3bdd2c6664a35236261f29e6;p=openldap fix use of uninitialized var --- diff --git a/servers/slapd/back-bdb/search.c b/servers/slapd/back-bdb/search.c index 58370ac4b1..59f9646ed0 100644 --- a/servers/slapd/back-bdb/search.c +++ b/servers/slapd/back-bdb/search.c @@ -835,7 +835,7 @@ dn2entry_retry: struct berval matched_dn = BER_BVNULL; if ( matched != NULL ) { - BerVarray erefs; + BerVarray erefs = NULL; if ( ! access_allowed( op, matched, slap_schema.si_ad_entry,