From: Kurt Zeilenga Date: Mon, 28 Dec 1998 16:41:39 +0000 (+0000) Subject: matched needs to be initialized to NULL as we may never X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~849 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ecc44e229285d111dea83bba77b8db37d695c064;p=openldap matched needs to be initialized to NULL as we may never make it to dn2entry_r(). --- diff --git a/servers/slapd/back-ldbm/search.c b/servers/slapd/back-ldbm/search.c index 6ecf5b4abe..438397f441 100644 --- a/servers/slapd/back-ldbm/search.c +++ b/servers/slapd/back-ldbm/search.c @@ -49,7 +49,7 @@ ldbm_back_search( ID id; Entry *e; Attribute *ref; - char *matched; + char *matched = NULL; int rmaxsize, nrefs; char *rbuf, *rcur, *r; int nentries = 0;